The final temperature of the bath water is
![30.4^(\circ)](https://img.qammunity.org/2021/formulas/physics/middle-school/oaz1s4fk9azzenkurg71xjnzfeg7cuapk8.png)
Solution:
From given,
Mass of the hot water = m = 3 kg
Mass of cold water = M = 27 kg
Initial temperature of the hot water =
![T_(1h) = 79^(\circ)](https://img.qammunity.org/2021/formulas/physics/middle-school/3utjyn2437urp01wuywutwx19cap6qpxxn.png)
Initial temperature of the cold water =
![T_(1c) = 25^(\circ)](https://img.qammunity.org/2021/formulas/physics/middle-school/eugzh9ub05c4haev9s5x8fexbai76tzajg.png)
The heat lost by the hot water will be equal to the heat gain by the cold water
Therefore,
![mC(T_(1h) - T) = MC(T - T_(1c))](https://img.qammunity.org/2021/formulas/physics/middle-school/4lgj84pjok0rf4hh7h42muvwrgo0h3urhr.png)
![3 * 4.18 (79-T) = 27 * 4.18(T - 25)\\\\12.54(79-T) = 112.86(T - 25)\\\\990.66 - 12.54T = 112.86T - 2821.5\\\\112.86T + 12.54T = 990.66 + 2821.5\\\\125.4T = 3812.16\\\\Divide\ both\ sides\ by\ 125.4\\\\T = 30.4](https://img.qammunity.org/2021/formulas/physics/middle-school/6g76dbtpdn9gsy18ostze09pzy0vhxl162.png)
Thus the final temperature of the bath water is
![30.4^(\circ)](https://img.qammunity.org/2021/formulas/physics/middle-school/oaz1s4fk9azzenkurg71xjnzfeg7cuapk8.png)