Thermodynamic functions of gases