Neon and Oxygen in a Vessel
Q. A vessel contains two, non-reactive gases: neon (monatomic) and oxygen (diatomic). The ratio of their partial pressures is 3:2. What is the ratio of the number of molecules of neon to oxygen in the vessel?
Outputs
ratio?
How it's solved
Solved with IdealGas
Given
- 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)
Conclusion
Sharing one vessel at one temperature, each gas presses in proportion to how many molecules it has, whatever those molecules are.
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_in_a_vessel 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. %{ratio} of neon to oxygen in the vessel?"7 asks ratio: "What is the ratio of the number of molecules"8end1require_relative "../questions/neon_and_oxygen_in_a_vessel"2require_relative "../science/kinetic_theory/ideal_gas"34solve :neon_and_oxygen_in_a_vessel, using: IdealGas do5 objects :neon, :oxygen67 deduce_from "partial pressures is 3:2", neon.pressure => 1.5 * oxygen.pressure8 deduce_from "A vessel contains two", neon.volume => oxygen.volume, neon.temperature => oxygen.temperature910 answer find_relation(neon.amount / oxygen.amount), figures: 21112 conclusion "Sharing one vessel at one temperature, each gas presses in proportion to how many molecules it " \13 "has, whatever those molecules are."14endplayground.rb
1require_relative "../solutions/neon_and_oxygen_in_a_vessel"23play_with :neon_and_oxygen_in_a_vessel do4 title "Neon and Oxygen in a Vessel"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 | — |