play phryzby with physics

Molar Volume at STP

solved IdealGas

Q. Molar volume is the volume occupied by 1 moln=1mol of any (ideal) gas at standard temperature and pressure (STP : 1 atmospheric pressureP=1atm, 0 °CT=273.15K). What is the molar volume, in litres?

gasP = 101325 PaV = ?T = 273 Kn = 1 mol
Inputs
n
1 mol
Outputs
volumeV?

How it's solved

Solved with IdealGas

Given

  • n=1mol
  • P=1atm from “1 atmospheric pressure”
  • T=273.15K from “0 °C”

Find V.

Working
  1. P=1atm=101325Pa
  2. ideal gas law(gas)P⋅V=n⋅R⋅T
  3. 101325⋅V=1⋅8.31446262⋅273.15
  4. V=22.41L
  5. V=0.0224139695m³=22.4139695L
  6. V≈22.4Lto 3 significant figures
Conclusion

The ideal gas law has no room for what the molecules are, so a mole of any gas at the same pressure and temperature takes up the same volume.

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 :molar_volume_at_stp do4  kind :numerical5  describes "Molar volume is the volume occupied by %{amount} of any (ideal) gas at standard temperature and pressure " \6            "(STP : 1 atmospheric pressure, 0 °C). %{volume}, in litres?"7  given amount: "1 mol"8  asks volume: "What is the molar volume"9end
solution.rb
1require_relative "../questions/molar_volume_at_stp"2require_relative "../science/kinetic_theory/ideal_gas"34solve :molar_volume_at_stp, using: IdealGas do5  objects :gas67  take amount: gas.amount89  deduce_from "1 atmospheric pressure", gas.pressure => "1 atm"10  deduce_from "0 °C", gas.temperature => "273.15 K"1112  volume = gas.volume13  answer volume:, in: "L", figures: 31415  conclusion "The ideal gas law has no room for what the molecules are, so a mole of any gas at the same pressure " \16             "and temperature takes up the same volume."17end
playground.rb
1require_relative "../solutions/molar_volume_at_stp"23play_with :molar_volume_at_stp do4  title "Molar Volume at STP"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
pressure of groundPgPa0 … ∞
volume of groundVgm³0 … ∞
amount of groundngmol—
temperature of groundTgK0 … 1e+09
pressure of gasPPa0 … ∞
volume of gasVm³0 … ∞
amount of gasnmol—
temperature of gasTK0 … 1e+09
density of groundρgkg/m³0 … ∞
molar mass of groundMgkg/mol—
density of gasρkg/m³0 … ∞
molar mass of gasMkg/mol—
Pg⋅Vg=ng⋅R⋅Tg
ideal gas law
ρg=ng⋅MgVg
density of a gas
Pg⋅Vg=ng⋅R⋅Tg
ideal gas law(ground)
P⋅V=n⋅R⋅T
ideal gas law(gas)
ρg=ng⋅MgVg
density of a gas(ground)
ρ=n⋅MV
density of a gas(gas)