For an ideal monatomic gas, the entropy as a function of the internal energy U, volume V, and number of moles n is given by the Sackur–Tetrode equation : S = n R ln ⁡ ⁡ [ V N ( 4 π π m 3 h 2 U N ) 3 / 2 ] + 5 2 n R .