heat capacity of an ideal gas