Multiply the number of moles of hydrogen found within the volume of gas by a factor of 1.5. The number of moles of hydrogen in any sample is equal to the number of grams of hydrogen within the sample. This is because the molecular weight of hydrogen equals 1, so 1 mole equals 1 gram.
Multiply the result by the gas constant. An often used approximation for this value is 8.314.
Multiply the resulting product by the absolute temperature of the hydrogen volume. Absolute temperature is measured with the Kelvin scale. (Conversion factors -- Celsius to Kelvin: K =°C + 273.15, Fahrenheit to Kelvin: K = 5/9 (° F - 32) + 273.) The resulting product is the internal energy and overall energy, due to being a diatomic molecule, of the hydrogen sample.