containing both Boyles law and Charless law as special cases and states that for a specified quantity of gas, the product of the volume, V, and pressure, P, is proportional to the absolute temperature T; i.e., in equation form, PV = kT , in which k is a constant.
It is crucial to match your units of Pressure,
Volume, number of moles and Temperature with the units of R. If you use the first value of R, which is 0.082057 L atm mol-1K-1, your unit for pressure must be liter, for temperature must be Kelvin.
nH2 = PH2V / RT ; nH2 = (0.9503 atm) (0.456 L) /
(0.0821 L-atm / mole-K) (295 K) = 0.0179 mole H2. The ideal gas equation (PV=nRt) provides a between volume, pressure, temperature and number of particles in a gas.