can change. This would apply to, for example, heating something under consistent air pressure. What we computed was the isochoric heat capacity, where the volume is fixed. When we were taking the derivative, we assumed that V was constant. But if pressure is fixed
Temperature and the Sackur–Tetrode Equation