Like the heat capacity of an object, the molar heat capacity of a substance may vary, sometimes substantially, depending on the starting temperature T of the sample and the pressure P applied to it. Therefore, it should be considered a function c m (P, T) of those two variables.