TeX source:
W_{therm}=\Delta H=mc_p\Delta T=n\hat c_p\Delta T