Step-by-step explanation:
Relation between heat energy, specific heat and temperature change is as follows.
Q =
where, Q or q = heat energy
m = mass
C = specific heat = 4.186

= change in temperature =
=

Now, putting the given values into the above formula as follows.
Q =
=

= 1594.86 J
or, = 1.59 kJ (as 1 kJ = 1000 J)
Therefore, we can conclude that the amount of heat gained by the water is 1.59 kJ.