Neon and Oxygen by Density
Q. A vessel contains two, non-reactive gases: neon (monatomic) and oxygen (diatomic). The ratio of their partial pressures is 3:2. The atomic mass of neon is 20.2 g/molg/mol and the molecular mass of oxygen is 32.0 g/molg/mol. What is the ratio of the mass densities of neon to oxygen in the vessel?
Inputs
Outputs
ratio?
How it's solved
Solved with IdealGas
Given
- g/mol
- g/mol
- from “partial pressures is 3:2”
- from “A vessel contains two”
- from “A vessel contains two”
Find .
Working
- ideal gas law(oxygen)
- ideal gas law(neon)
- density of a gas(oxygen)
- density of a gas(neon)
- g/molkg/mol
- g/molkg/mol
Conclusion
Neon has more molecules in the vessel, but each is lighter, so its greater number nearly cancels its lightness.
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.
1require_relative "../physics"23question :neon_and_oxygen_by_density do4 kind :numerical5 describes "A vessel contains two non-reactive gases: neon (monatomic) and oxygen (diatomic). The ratio of their " \6 "partial pressures is 3:2. The atomic mass of neon is %{neon} and the molecular mass of oxygen is " \7 "%{oxygen}. %{ratio} of neon to oxygen in the vessel?"8 given neon: "20.2 g/mol"9 given oxygen: "32.0 g/mol"10 asks ratio: "What is the ratio of the mass densities"11end1require_relative "../questions/neon_and_oxygen_by_density"2require_relative "../science/kinetic_theory/ideal_gas"34solve :neon_and_oxygen_by_density, using: IdealGas do5 objects :neon, :oxygen67 take neon: neon.molar_mass8 take oxygen: oxygen.molar_mass910 deduce_from "partial pressures is 3:2", neon.pressure => 1.5 * oxygen.pressure11 deduce_from "A vessel contains two", neon.volume => oxygen.volume, neon.temperature => oxygen.temperature1213 answer find_relation(neon.density / oxygen.density), figures: 31415 conclusion "Neon has more molecules in the vessel, but each is lighter, so its greater number nearly cancels " \16 "its lightness."17endplayground.rb
1require_relative "../solutions/neon_and_oxygen_by_density"23play_with :neon_and_oxygen_by_density do4 title "Neon and Oxygen by Density"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| gas constant | J mol⁻¹ K⁻¹ | — | IdealGas | |
| pressure | Pa | 0 … ∞ | IdealGas | |
| volume | m³ | 0 … ∞ | IdealGas | |
| amount | mol | — | IdealGas | |
| temperature | K | 0 … 1e+09 | IdealGas | |
| molar mass | kg/mol | — | IdealGas | |
| density | kg/m³ | 0 … ∞ | IdealGas | |
| pressure of ground | Pa | 0 … ∞ | ||
| volume of ground | m³ | 0 … ∞ | ||
| amount of ground | mol | — | ||
| temperature of ground | K | 0 … 1e+09 | ||
| pressure of neon | Pa | 0 … ∞ | ||
| volume of neon | m³ | 0 … ∞ | ||
| amount of neon | mol | — | ||
| temperature of neon | K | 0 … 1e+09 | ||
| pressure of oxygen | Pa | 0 … ∞ | ||
| volume of oxygen | m³ | 0 … ∞ | ||
| amount of oxygen | mol | — | ||
| temperature of oxygen | K | 0 … 1e+09 | ||
| density of ground | kg/m³ | 0 … ∞ | ||
| molar mass of ground | kg/mol | — | ||
| density of neon | kg/m³ | 0 … ∞ | ||
| molar mass of neon | kg/mol | — | ||
| density of oxygen | kg/m³ | 0 … ∞ | ||
| molar mass of oxygen | kg/mol | — |