The gas equation PV//T = constant is true for a constant mass of an ideal gas undergoing.