Can someone please help me solve this homework problem for my chemistry class.It's my last problem and I'm stuck!:/ Thanks :)

A 4.0*10^1kg sample of water absorbs 308KJ of heat. If the water was initially at 25.5 C, what is its final temperature?

1 answer

q = mass x specific heat x (Tfinal-Tinitial)
q = 308,000 J
mass = 40000