play phryzby with physics

Argon as Fast as Cold Helium

solved RmsSpeed

Q. The atomic mass of Ar is 39.9 g/molMa=39.9g/mol and of He is 4.0 g/molMh=4.0g/mol. At what temperature is the root mean square speed of an atom in an argon gas cylinder equal to the rms speedvrms,h=vrms,a of a helium gas atom at – 20 °CTh=253K, in kelvin?

argonT = ?M = 0.0399 kg/molv_rmsEheliumT = 253 KM = 4×10⁻³ kg/molv_rmsE
Inputs
Ma
39.9 g/mol
Mh
4 g/mol
Outputs
temperatureTa?

How it's solved

Solved with RmsSpeed

Given

  • Ma=39.9g/mol
  • Mh=4.0g/mol
  • Th=253K from “a helium gas atom at – 20 °C”
  • vrms,h=vrms,a from “equal to the rms speed”

Find Ta.

Working
  1. Ma=39.9g/mol=0.0399kg/mol
  2. Mh=4.0g/mol=0.004kg/mol
  3. rms speed of a gas(helium)vrms,h=(3⋅R⋅ThMh)0.5
  4. vrms,h=(3⋅8.31446262⋅2530.004)0.5
  5. vrms,h=1256.05306m/s
  6. equal to the rms speedvrms,h=vrms,a
  7. 1256.05306=vrms,a
  8. vrms,a=1256.05306m/s
  9. rms speed of a gas(argon)vrms,a=(3⋅R⋅TaMa)0.5
  10. 1256.05306=(3⋅8.31446262⋅Ta0.0399)0.5
  11. Ta=2524K
  12. Ta≈2.52×103Kto 3 significant figures
Conclusion

The rms speed goes as the square root of the temperature over the molar mass, so the heavier argon must be hotter in the same proportion as it is heavier.

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 :argon_as_fast_as_cold_helium do4  kind :numerical5  describes "The atomic mass of Ar is %{argon} and of He is %{helium}. %{temperature} of an atom in an argon gas " \6            "cylinder equal to the rms speed of a helium gas atom at – 20 °C, in kelvin?"7  given argon: "39.9 g/mol"8  given helium: "4.0 g/mol"9  asks temperature: "At what temperature is the root mean square speed"10end
solution.rb
1require_relative "../questions/argon_as_fast_as_cold_helium"2require_relative "../science/kinetic_theory/rms_speed"34solve :argon_as_fast_as_cold_helium, using: RmsSpeed do5  objects :argon, :helium67  take argon: argon.molar_mass8  take helium: helium.molar_mass910  deduce_from "a helium gas atom at – 20 °C", helium.temperature => "253 K"11  deduce_from "equal to the rms speed", helium.rms_speed => argon.rms_speed1213  temperature = argon.temperature14  answer temperature:, in: "K", figures: 31516  conclusion "The rms speed goes as the square root of the temperature over the molar mass, so the heavier argon " \17             "must be hotter in the same proportion as it is heavier."18end
playground.rb
1require_relative "../solutions/argon_as_fast_as_cold_helium"23play_with :argon_as_fast_as_cold_helium do4  title "Argon as Fast as Cold Helium"5end
The laws it drew on
quantitywrittenunitswithinfrom
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⁻¹—RmsSpeed
rms speedvrmsm/s—RmsSpeed
average thermal energyEavgJ—RmsSpeed
pressure of groundPgPa0 … ∞
volume of groundVgm³0 … ∞
amount of groundngmol—
temperature of groundTgK0 … 1e+09
pressure of argonPaPa0 … ∞
volume of argonVam³0 … ∞
amount of argonnamol—
temperature of argonTaK0 … 1e+09
pressure of heliumPhPa0 … ∞
volume of heliumVhm³0 … ∞
amount of heliumnhmol—
temperature of heliumThK0 … 1e+09
density of groundρgkg/m³0 … ∞
molar mass of groundMgkg/mol—
density of argonρakg/m³0 … ∞
molar mass of argonMakg/mol—
density of heliumρhkg/m³0 … ∞
molar mass of heliumMhkg/mol—
rms speed of groundvrms,gm/s—
rms speed of argonvrms,am/s—
rms speed of heliumvrms,hm/s—
average thermal energy of groundEavg,gJ—
average thermal energy of argonEavg,aJ—
average thermal energy of heliumEavg,hJ—
Pg⋅Vg=ng⋅R⋅Tg
ideal gas law
ρg=ng⋅MgVg
density of a 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
Pg⋅Vg=ng⋅R⋅Tg
ideal gas law(ground)
Pa⋅Va=na⋅R⋅Ta
ideal gas law(argon)
Ph⋅Vh=nh⋅R⋅Th
ideal gas law(helium)
ρg=ng⋅MgVg
density of a gas(ground)
ρa=na⋅MaVa
density of a gas(argon)
ρh=nh⋅MhVh
density of a gas(helium)
vrms,g=(3⋅R⋅TgMg)0.5
rms speed of a gas(ground)
vrms,a=(3⋅R⋅TaMa)0.5
rms speed of a gas(argon)
vrms,h=(3⋅R⋅ThMh)0.5
rms speed of a gas(helium)
Eavg,g=3⋅R⋅Tg2⋅NA
three halves k t for each molecule(ground)
Eavg,a=3⋅R⋅Ta2⋅NA
three halves k t for each molecule(argon)
Eavg,h=3⋅R⋅Th2⋅NA
three halves k t for each molecule(helium)
vrms,h=vrms,a
equal to the rms speed