TeX source:
W_{therm}=\Delta W=mc_V\Delta T=n\hat c_V\Delta T