To apply the theory, one considers the sample of the substance (solid, liquid, or gas) for which the specific heat capacity can be defined; in particular, that it has homogeneous composition and fixed mass M . Assume that the evolution of the system is always slow enough for the internal pressure P and temperature T be considered uniform throughout. The pressure P would be equal to the pressure applied to it by the enclosure or some surrounding fluid, such as air.