Air Molecules in a Room
Q. Estimate the total number of air molecules (inclusive of oxygen, nitrogen, water vapour and other constituents) in a room of capacity 25.0 m³m³ at a temperature of 27 °CK and 1 atmatm pressure?
Inputs
Outputs
molecules?
How it's solved
Solved with Moles
Given
- m³
- atm
- K from “a temperature of 27 °C”
Find .
Working
- atmPa
- ideal gas law(air)
- mol
- molecules in a gas(air)
- to 2 significant figures
Conclusion
The ideal gas law counts the moles from the pressure, volume and temperature alone, whatever mix of molecules the air is, and each mole holds Avogadro's number of them.
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 :air_molecules_in_a_room do4 kind :numerical5 describes "%{molecules} (inclusive of oxygen, nitrogen, water vapour and other constituents) in a room of capacity " \6 "%{volume} at a temperature of 27 °C and %{pressure} pressure?"7 given volume: "25.0 m3"8 given pressure: "1 atm"9 asks molecules: "Estimate the total number of air molecules"10end1require_relative "../questions/air_molecules_in_a_room"2require_relative "../science/kinetic_theory/moles"34solve :air_molecules_in_a_room, using: Moles do5 objects :air67 take volume: air.volume8 take pressure: air.pressure910 deduce_from "a temperature of 27 °C", air.temperature => "300 K"1112 molecules = air.molecules13 answer molecules:, figures: 21415 conclusion "The ideal gas law counts the moles from the pressure, volume and temperature alone, whatever mix of " \16 "molecules the air is, and each mole holds Avogadro's number of them."17endplayground.rb
1require_relative "../solutions/air_molecules_in_a_room"23play_with :air_molecules_in_a_room do4 title "Air Molecules in a Room"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 | |
| avogadro constant | mol⁻¹ | — | Moles | |
| mass | kg | 0 … ∞ | Moles | |
| molecules | — | — | Moles | |
| pressure of ground | Pa | 0 … ∞ | ||
| volume of ground | m³ | 0 … ∞ | ||
| amount of ground | mol | — | ||
| temperature of ground | K | 0 … 1e+09 | ||
| pressure of air | Pa | 0 … ∞ | ||
| volume of air | m³ | 0 … ∞ | ||
| amount of air | mol | — | ||
| temperature of air | K | 0 … 1e+09 | ||
| density of ground | kg/m³ | 0 … ∞ | ||
| molar mass of ground | kg/mol | — | ||
| density of air | kg/m³ | 0 … ∞ | ||
| molar mass of air | kg/mol | — | ||
| mass of ground | kg | 0 … ∞ | ||
| mass of air | kg | 0 … ∞ | ||
| molecules of ground | — | — | ||
| molecules of air | — | — |