Specific heat capacity to heat equation
Where;
q is the heat energy put in or taken out,
m is the mass of the substance,
c is the specific heat capacity,
ΔT is the difference in temperature.