The energy equation for a reversible non-flow process can be expressed as
\(\delta q = du + p\,dv\), where \(q\) is the heat transfer per unit mass, \(u\) is the internal energy per unit mass, \(p\) is the pressure, and \(v\) is the mass specific volume. This energy equation is not in exact differential form. It can be made exact differential by multiplying with the following integrating factor:
(The temperature \(T\) is absolute temperature)