play phryzby with physics

Oxygen Molecules in Their Gas

solved MolecularSize

Q. Take the diameter of an oxygen molecule to be 3 Åd=3Å. Estimate the fraction of molecular volume to the actual volume occupied by oxygen gas at STPT=273K, P=1atm?

oxygenP = 101325 PaT = 273 Kd = 3×10⁻¹⁰ mf_V = ?
Inputs
d
3 Å
Outputs
fractionfV?

How it's solved

Solved with MolecularSize

Given

  • d=3Å
  • T=273K from “at STP”
  • P=1atm from “at STP”

Find fV.

Working
  1. d=3Å=3×10−10m
  2. P=1atm=101325Pa
  3. ideal gas law(oxygen)P⋅V=n⋅R⋅T
  4. molecules in a gas(oxygen)N=n⋅NA
  5. molecules as little spheres(oxygen)Vm=N⋅π⋅d36
  6. share of the space the molecules fill(oxygen)fV=VmV
  7. fV=VmV
  8. fV=3.8004329×10−4
  9. fV≈4×10−4to 1 significant figure
Conclusion

The molecules themselves fill only a tiny part of the space a gas takes up; the rest is empty, which is why a gas squeezes so easily.

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 :oxygen_molecules_in_their_gas do4  kind :numerical5  describes "Take the diameter of an oxygen molecule to be %{diameter}. %{fraction} to the actual volume occupied by " \6            "oxygen gas at STP?"7  given diameter: "3 Å"8  asks fraction: "Estimate the fraction of molecular volume"9end
solution.rb
1require_relative "../questions/oxygen_molecules_in_their_gas"2require_relative "../science/kinetic_theory/molecular_size"34solve :oxygen_molecules_in_their_gas, using: MolecularSize do5  objects :oxygen67  take diameter: oxygen.molecular_diameter89  deduce_from "at STP", oxygen.temperature => "273 K", oxygen.pressure => "1 atm"1011  fraction = oxygen.fraction_filled_by_molecules12  answer fraction:, figures: 11314  conclusion "The molecules themselves fill only a tiny part of the space a gas takes up; the rest is empty, " \15             "which is why a gas squeezes so easily."16end
playground.rb
1require_relative "../solutions/oxygen_molecules_in_their_gas"23play_with :oxygen_molecules_in_their_gas do4  title "Oxygen Molecules in Their Gas"5end
The laws it drew on
quantitywrittenunitswithinfrom
piπ—0 … ∞MolecularSize
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
molecular diameterdm0 … ∞MolecularSize
molecular radiusrm—MolecularSize
volume of the moleculesVmm³—MolecularSize
fraction filled by moleculesfV——MolecularSize
pressure of groundPgPa0 … ∞
volume of groundVgm³0 … ∞
amount of groundngmol—
temperature of groundTgK0 … 1e+09
pressure of oxygenPPa0 … ∞
volume of oxygenVm³0 … ∞
amount of oxygennmol—
temperature of oxygenTK0 … 1e+09
density of groundρgkg/m³0 … ∞
molar mass of groundMgkg/mol—
density of oxygenρkg/m³0 … ∞
molar mass of oxygenMkg/mol—
mass of groundmgkg0 … ∞
mass of oxygenmkg0 … ∞
molecules of groundNg——
molecules of oxygenN——
molecular diameter of grounddgm0 … ∞
molecular radius of groundrgm—
molecular diameter of oxygendm0 … ∞
molecular radius of oxygenrm—
volume of the molecules of groundVm,gm³—
volume of the molecules of oxygenVmm³—
fraction filled by molecules of groundfV,g——
fraction filled by molecules of oxygenfV——
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
dg=2⋅rg
diameter is twice the radius
Vm,g=Ng⋅π⋅dg36
molecules as little spheres
fV,g=Vm,gVg
share of the space the molecules fill
ng≠0
holds some gas?
Pg⋅Vg=ng⋅R⋅Tg
ideal gas law(ground)
P⋅V=n⋅R⋅T
ideal gas law(oxygen)
ρg=ng⋅MgVg
density of a gas(ground)
ρ=n⋅MV
density of a gas(oxygen)
mg=ng⋅Mg
mass of a gas(ground)
m=n⋅M
mass of a gas(oxygen)
Ng=ng⋅NA
molecules in a gas(ground)
N=n⋅NA
molecules in a gas(oxygen)
dg=2⋅rg
diameter is twice the radius(ground)
d=2⋅r
diameter is twice the radius(oxygen)
Vm,g=Ng⋅π⋅dg36
molecules as little spheres(ground)
Vm=N⋅π⋅d36
molecules as little spheres(oxygen)
fV,g=Vm,gVg
share of the space the molecules fill(ground)
fV=VmV
share of the space the molecules fill(oxygen)
n≠0
holds some gas?(oxygen)