Calculates heat as Q = mass × specific heat × temperature change. Mass is in grams, specific heat in J/(g·K) (about 4.2 for water), the change in kelvins, and heat in joules.