In order to calculate the final temperature, we can use the formula below:
[tex]Q=m\cdot c\cdot\Delta T[/tex]Where Q is the heat energy (in Joules), m is the mass, c is the specific heat and Delta T is the change in temperature (final temperature minus initial temperature).
So, using Q = 10312 J, m = 4 kg, c = 390 J/kg°C and Ti = 28°, we have:
[tex]\begin{gathered} Q=m\cdot c\cdot(T_f-T_i)\\ \\ 10312=4\cdot390\cdot(T_f-28)\\ \\ 10312=1560T_f-43680\\ \\ 1560T_f=10312+43680\\ \\ 1560T_f=53992\\ \\ T_f=\frac{53992}{1560}\\ \\ T_f=34.61\text{ \degree C} \end{gathered}[/tex]Therefore the final temperature is 34.61 °C.