play phryzby with physics

A Nitrogen Molecule's Free Path

solved MeanFreePath

Q. Take the radius of a nitrogen molecule to be roughly 1.0 År=1.0Å. Estimate the mean free path of a nitrogen molecule in a cylinder containing nitrogen at 2.0 atmP=2.0atm and temperature 17 °CT=290K, in metres?

nitrogenP = 202650 PaT = 290 KEλ = ?d
Inputs
r
1 Å
P
2 atm
Outputs
pathl?

How it's solved

Solved with MeanFreePath

Given

  • r=1.0Å
  • P=2.0atm
  • T=290K from “temperature 17 °C”

Find l.

Working
  1. r=1.0Å=1×10−10m
  2. P=2.0atm=202650Pa
  3. diameter is twice the radius(nitrogen)d=2⋅r
  4. d=2⋅1×10−10
  5. d=2×10−10m
  6. path between collisions(nitrogen)l=R⋅T2⋅π⋅d2⋅P⋅NA
  7. l=8.31446262⋅2902⋅3.14159265⋅(2×10−10)2⋅202650⋅6.02214076×1023
  8. l=1.112×10−7m
  9. l≈1.1×10−7mto 2 significant figures
Conclusion

A molecule sweeps out a cylinder as wide as two molecules and hits whatever lies in it, so the more crowded the gas and the bigger the molecules, the shorter it runs free.

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 :a_nitrogen_molecule_s_free_path do4  kind :numerical5  describes "Take the radius of a nitrogen molecule to be roughly %{radius}. %{path} of a nitrogen molecule in a " \6            "cylinder containing nitrogen at %{pressure} and temperature 17 °C, in metres?"7  given radius: "1.0 Å"8  given pressure: "2.0 atm"9  asks path: "Estimate the mean free path"10end
solution.rb
1require_relative "../questions/a_nitrogen_molecule_s_free_path"2require_relative "../science/kinetic_theory/mean_free_path"34solve :a_nitrogen_molecule_s_free_path, using: MeanFreePath do5  objects :nitrogen67  take radius: nitrogen.molecular_radius8  take pressure: nitrogen.pressure910  deduce_from "temperature 17 °C", nitrogen.temperature => "290 K"1112  path = nitrogen.mean_free_path13  answer path:, in: "m", figures: 21415  conclusion "A molecule sweeps out a cylinder as wide as two molecules and hits whatever lies in it, so the more " \16             "crowded the gas and the bigger the molecules, the shorter it runs free."17end
playground.rb
1require_relative "../solutions/a_nitrogen_molecule_s_free_path"23play_with :a_nitrogen_molecule_s_free_path do4  title "A Nitrogen Molecule's Free Path"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
rms speedvrmsm/s—RmsSpeed
average thermal energyEavgJ—RmsSpeed
mean free pathlm—MeanFreePath
collision frequencyνcHz—MeanFreePath
pressure of groundPgPa0 … ∞
volume of groundVgm³0 … ∞
amount of groundngmol—
temperature of groundTgK0 … 1e+09
pressure of nitrogenPPa0 … ∞
volume of nitrogenVm³0 … ∞
amount of nitrogennmol—
temperature of nitrogenTK0 … 1e+09
density of groundρgkg/m³0 … ∞
molar mass of groundMgkg/mol—
density of nitrogenρkg/m³0 … ∞
molar mass of nitrogenMkg/mol—
mass of groundmgkg0 … ∞
mass of nitrogenmkg0 … ∞
molecules of groundNg——
molecules of nitrogenN——
molecular diameter of grounddgm0 … ∞
molecular radius of groundrgm—
molecular diameter of nitrogendm0 … ∞
molecular radius of nitrogenrm—
volume of the molecules of groundVm,gm³—
volume of the molecules of nitrogenVmm³—
fraction filled by molecules of groundfV,g——
fraction filled by molecules of nitrogenfV——
rms speed of groundvrms,gm/s—
rms speed of nitrogenvrmsm/s—
average thermal energy of groundEavg,gJ—
average thermal energy of nitrogenEavgJ—
mean free path of groundlgm—
mean free path of nitrogenlm—
collision frequency of groundνc,gHz—
collision frequency of nitrogenνcHz—
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?
vrms,g=(3⋅R⋅TgMg)0.5
rms speed of a gas
Eavg,g=3⋅R⋅Tg2⋅NA
three halves k t for each molecule
lg=R⋅Tg2⋅π⋅dg2⋅Pg⋅NA
path between collisions
νc,g=vrms,glg
collisions each second
Pg⋅Vg=ng⋅R⋅Tg
ideal gas law(ground)
P⋅V=n⋅R⋅T
ideal gas law(nitrogen)
ρg=ng⋅MgVg
density of a gas(ground)
ρ=n⋅MV
density of a gas(nitrogen)
mg=ng⋅Mg
mass of a gas(ground)
m=n⋅M
mass of a gas(nitrogen)
Ng=ng⋅NA
molecules in a gas(ground)
N=n⋅NA
molecules in a gas(nitrogen)
dg=2⋅rg
diameter is twice the radius(ground)
d=2⋅r
diameter is twice the radius(nitrogen)
Vm,g=Ng⋅π⋅dg36
molecules as little spheres(ground)
Vm=N⋅π⋅d36
molecules as little spheres(nitrogen)
fV,g=Vm,gVg
share of the space the molecules fill(ground)
fV=VmV
share of the space the molecules fill(nitrogen)
vrms,g=(3⋅R⋅TgMg)0.5
rms speed of a gas(ground)
vrms=(3⋅R⋅TM)0.5
rms speed of a gas(nitrogen)
Eavg,g=3⋅R⋅Tg2⋅NA
three halves k t for each molecule(ground)
Eavg=3⋅R⋅T2⋅NA
three halves k t for each molecule(nitrogen)
lg=R⋅Tg2⋅π⋅dg2⋅Pg⋅NA
path between collisions(ground)
l=R⋅T2⋅π⋅d2⋅P⋅NA
path between collisions(nitrogen)
νc,g=vrms,glg
collisions each second(ground)
νc=vrmsl
collisions each second(nitrogen)
n≠0
holds some gas?(nitrogen)