The molar heat capacity for an ideal gas