Difference between constant-pressure and constant-volume heat capacities (source code)

= Difference between constant-pressure and constant-volume heat capacities
{title2=$C_P-C_V$}

For a simple compressible system,
$$
C_P-C_V
=T\left(\frac{\partial V}{\partial T}\right)_P
\left(\frac{\partial P}{\partial T}\right)_V.
$$
This follows by expressing the entropy as a function of temperature and volume and using a Maxwell relation.