## Essential University Physics: Volume 1 (3rd Edition)

$W = CT_h - CT_{\infty}$
We know that $Q_h=CT_h$ and that $Q_c=CT_{\infty}$. Because work is equal to $Q_h$ minus $Q_c$, we substitute to find: $W = CT_h - CT_{\infty}$