if 40kj of energy is absorbed by 500g od water in 10c temprature. what is the fainal temprature of the water?

q = mass water x specific heat water x (Tfinal-Tinitial).

Don't forget to use q in J if specific heat water is in J.