how to calculate number calories to heat 285 grams h2o

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