play phryzby with physics

Hydrogen to Match Oxygen's PV/T

solved Moles

Q. Plots of PV/T versus P are drawn for 1.00 × 10⁻³ kgmo=1.00×10−3kg of oxygen gas at two different temperatures. The molecular mass of H2 is 2.02 g/molMh=2.02g/mol and of O2 is 32.0 g/molMo=32.0g/mol. If we obtained similar plots for hydrogen, what mass of hydrogen yields the same value of PV/Tnh=no (for low pressure high temperature region of the plot), in kilograms?

oxygennM = 0.032 kg/molm = 1×10⁻³ kgNhydrogennM = 2.02×10⁻³ kg/molm = ?N
Inputs
mo
0.001 kg
Mh
2.02 g/mol
Mo
32 g/mol
Outputs
massmh?

How it's solved

Solved with Moles

Given

  • mo=1.00×10−3kg
  • Mh=2.02g/mol
  • Mo=32.0g/mol
  • nh=no from “the same value of PV/T”

Find mh.

Working
  1. Mh=2.02g/mol=0.00202kg/mol
  2. Mo=32.0g/mol=0.032kg/mol
  3. mass of a gas(oxygen)mo=no⋅Mo
  4. 0.001=no⋅0.032
  5. no=0.03125mol
  6. the same value of PV/Tnh=no
  7. nh=0.03125
  8. nh=0.03125mol
  9. mass of a gas(hydrogen)mh=nh⋅Mh
  10. mh=0.03125⋅0.00202
  11. mh=6.312×10−5kg
  12. mh≈6.3×10−5kgto 2 significant figures
Conclusion

Where a gas behaves ideally, PV/T is the number of moles times the gas constant, so the same value needs the same number of moles, and hydrogen's moles are far lighter.

The web of concepts

given read from the words equation asked

The Ruby that solves it

The question and its solution are small Ruby files. The engine runs them.

question.rb
1require_relative "../physics"23question :hydrogen_to_match_oxygen_s_pv_over_t do4  kind :numerical5  describes "Plots of PV/T versus P are drawn for %{oxygen_mass} of oxygen gas at two different temperatures. The " \6            "molecular mass of H2 is %{hydrogen} and of O2 is %{oxygen}. If we obtained similar plots for hydrogen, " \7            "%{mass} yields the same value of PV/T (for low pressure high temperature region of the plot), in " \8            "kilograms?"9  given oxygen_mass: "1.00e-3 kg"10  given hydrogen: "2.02 g/mol"11  given oxygen: "32.0 g/mol"12  asks mass: "what mass of hydrogen"13end
solution.rb
1require_relative "../questions/hydrogen_to_match_oxygen_s_pv_over_t"2require_relative "../science/kinetic_theory/moles"34solve :hydrogen_to_match_oxygen_s_pv_over_t, using: Moles do5  objects :oxygen, :hydrogen67  take oxygen_mass: oxygen.mass8  take hydrogen: hydrogen.molar_mass9  take oxygen: oxygen.molar_mass1011  deduce_from "the same value of PV/T", hydrogen.amount => oxygen.amount1213  mass = hydrogen.mass14  answer mass:, in: "kg", figures: 21516  conclusion "Where a gas behaves ideally, PV/T is the number of moles times the gas constant, so the same value " \17             "needs the same number of moles, and hydrogen's moles are far lighter."18end
playground.rb
1require_relative "../solutions/hydrogen_to_match_oxygen_s_pv_over_t"23play_with :hydrogen_to_match_oxygen_s_pv_over_t do4  title "Hydrogen to Match Oxygen's PV/T"5end
The laws it drew on
quantitywrittenunitswithinfrom
gas constantRJ mol⁻¹ K⁻¹—IdealGas
pressurePPa0 … ∞IdealGas
volumeVm³0 … ∞IdealGas
amountnmol—IdealGas
temperatureTK0 … 1e+09IdealGas
molar massMkg/mol—IdealGas
densityρkg/m³0 … ∞IdealGas
avogadro constantNAmol⁻¹—Moles
massmkg0 … ∞Moles
moleculesN——Moles
pressure of groundPgPa0 … ∞
volume of groundVgm³0 … ∞
amount of groundngmol—
temperature of groundTgK0 … 1e+09
pressure of oxygenPoPa0 … ∞
volume of oxygenVom³0 … ∞
amount of oxygennomol—
temperature of oxygenToK0 … 1e+09
pressure of hydrogenPhPa0 … ∞
volume of hydrogenVhm³0 … ∞
amount of hydrogennhmol—
temperature of hydrogenThK0 … 1e+09
density of groundρgkg/m³0 … ∞
molar mass of groundMgkg/mol—
density of oxygenρokg/m³0 … ∞
molar mass of oxygenMokg/mol—
density of hydrogenρhkg/m³0 … ∞
molar mass of hydrogenMhkg/mol—
mass of groundmgkg0 … ∞
mass of oxygenmokg0 … ∞
mass of hydrogenmhkg0 … ∞
molecules of groundNg——
molecules of oxygenNo——
molecules of hydrogenNh——
Pg⋅Vg=ng⋅R⋅Tg
ideal gas law
ρg=ng⋅MgVg
density of a gas
mg=ng⋅Mg
mass of a gas
Ng=ng⋅NA
molecules in a gas
Pg⋅Vg=ng⋅R⋅Tg
ideal gas law(ground)
Po⋅Vo=no⋅R⋅To
ideal gas law(oxygen)
Ph⋅Vh=nh⋅R⋅Th
ideal gas law(hydrogen)
ρg=ng⋅MgVg
density of a gas(ground)
ρo=no⋅MoVo
density of a gas(oxygen)
ρh=nh⋅MhVh
density of a gas(hydrogen)
mg=ng⋅Mg
mass of a gas(ground)
mo=no⋅Mo
mass of a gas(oxygen)
mh=nh⋅Mh
mass of a gas(hydrogen)
Ng=ng⋅NA
molecules in a gas(ground)
No=no⋅NA
molecules in a gas(oxygen)
Nh=nh⋅NA
molecules in a gas(hydrogen)
nh=no
the same value of PV/T