A diatomic ideal gas is heated at constant volume until the pressure is doubled and again heated at constant pressure until the volume is doubled. The average molar heat capacity