A sample if liquid water (30g)heats up from an initial temperature of 20C to 78C. How much energy did it take in?

q = mass water x specific heat water x delta T.