The equation U = (3/2)nRT applies specifically to monatomic ideal gases, as they possess only three degrees of freedom related to translational motion. For diatomic gases, the internal energy equation becomes U = (5/2)nRT due to the addition of rotational degrees of freedom. The equi-partition theorem explains that each degree of freedom contributes 1/2kT to the energy, with vibrational modes contributing an additional kT. In practice, for diatomic gases like hydrogen at room temperature, vibrational contributions are negligible, leading to U = (5/2)nRT rather than the expected (7/2)nRT. Consequently, the ratio of specific heats, γ, is calculated as 7/5 at room temperature.