An Unknown Gas Weighed by Its Density
Q. The density of an unknown gas at 97 °C°C and 0.95 atmatm is 2.5 g/litreg/litre. Assuming the gas to be an ideal one, the molecular weight of this gas should be nearly, in g/mol?
Inputs
Outputs
molar mass?
How it's solved
Solved with IdealGas
Given
- °C
- atm
- g/litre
Assumed
- L
Find .
Working
- °CK
- atmPa
- g/litrekg/m³
- Lm³
- ideal gas law(gas)
- mol
- density of a gas(gas)
- g/mol
- kg/molg/mol
- g/molto 2 significant figures
Conclusion
A litre of any ideal gas at this temperature and pressure holds the same number of moles, so its mass over that number of moles is the molar mass; 97 °C is 370 K on the absolute scale the gas law needs.
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 :an_unknown_gas_weighed_by_its_density do4 kind :numerical5 describes "The density of an unknown gas at %{temperature} and %{pressure} is %{density}. Assuming the gas to be " \6 "an ideal one, %{molar_mass}, in g/mol?"7 given temperature: "97 °C"8 given pressure: "0.95 atm"9 given density: "2.5 g/litre"10 asks molar_mass: "the molecular weight of this gas should be nearly"11end1require_relative "../questions/an_unknown_gas_weighed_by_its_density"2require_relative "../science/kinetic_theory/ideal_gas"34solve :an_unknown_gas_weighed_by_its_density, using: IdealGas do5 objects :gas67 take temperature: gas.temperature, pressure: gas.pressure, density: gas.density89 assume gas.volume => "1 L"1011 molar_mass = gas.molar_mass12 answer molar_mass:, in: "g/mol", figures: 21314 conclusion "A litre of any ideal gas at this temperature and pressure holds the same number of moles, so its " \15 "mass over that number of moles is the molar mass; 97 °C is 370 K on the absolute scale the gas law " \16 "needs."17endplayground.rb
1require_relative "../solutions/an_unknown_gas_weighed_by_its_density"23play_with :an_unknown_gas_weighed_by_its_density do4 title "An Unknown Gas Weighed by Its Density"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 | |
| pressure of ground | Pa | 0 … ∞ | ||
| volume of ground | m³ | 0 … ∞ | ||
| amount of ground | mol | — | ||
| temperature of ground | K | 0 … 1e+09 | ||
| pressure of gas | Pa | 0 … ∞ | ||
| volume of gas | m³ | 0 … ∞ | ||
| amount of gas | mol | — | ||
| temperature of gas | K | 0 … 1e+09 | ||
| density of ground | kg/m³ | 0 … ∞ | ||
| molar mass of ground | kg/mol | — | ||
| density of gas | kg/m³ | 0 … ∞ | ||
| molar mass of gas | kg/mol | — |