Absolute pressures: $P_1 = 16$ atm, $P_2 = 12$ atm
Temperatures: $T_1 = 300$ K, $T_2 = 290$ K, Volume $V = 30$ L
$$n_1 = \frac{P_1 V}{RT_1} = \frac{16 \times 1 \times 30}{0.0821 \times 300} \approx 19.5 \text{ mol}$$$PV = nRT$ where $P$ = absolute pressure (Pa), $V$ = volume (m³), $n$ = moles, $R = 8.314$ J mol⁻¹K⁻¹, $T$ = temperature (K). Always use absolute pressure — gauge pressure must have atmospheric pressure (1 atm = 101325 Pa) added. $T$(K) $= T$(°C) $+ 273$. For same container with gas removed: volume constant, use $n_1$ and $n_2$ at respective $P$ and $T$.
Absolute pressure = pressure measured from perfect vacuum. Gauge pressure = pressure above atmospheric (shown by most pressure gauges). Absolute = Gauge + Atmospheric. At sea level: $P_{atm} = 1$ atm = 101325 Pa = 760 mmHg = 1.013 bar. Tyre pressure 30 psi gauge = 44.7 psi absolute. Vacuum gauge: reads below atmospheric (negative gauge pressure). Blood pressure: systolic 120 mmHg gauge = 120 mmHg above atmospheric.
RMS speed: $v_{rms} = \sqrt{3RT/M}$. Mean speed: $\bar{v} = \sqrt{8RT/\pi M}$. Most probable: $v_p = \sqrt{2RT/M}$. Ratio: $v_p : \bar{v} : v_{rms} = 1 : 1.128 : 1.225$. All $\propto \sqrt{T/M}$. Heavier molecules move slower. At same temperature, all gases have same average KE $= \frac{3}{2}k_BT$ per molecule.
$P = \frac{1}{3}\rho v_{rms}^2 = \frac{1}{3}\frac{mN}{V}v_{rms}^2$. Pressure arises from molecular collisions with walls. Each collision transfers momentum $2mv$ to wall. Average force per unit area = pressure. This derivation assumes: elastic collisions, random motion, no intermolecular forces (ideal gas assumptions).
Each degree of freedom (DOF) contributes $\frac{1}{2}k_BT$ to average KE (equipartition). Monatomic (He, Ar): 3 translational DOF, $U = \frac{3}{2}nRT$, $C_v = \frac{3}{2}R$, $\gamma = 5/3$. Diatomic (N₂, O₂): 5 DOF (3 trans + 2 rot), $C_v = \frac{5}{2}R$, $\gamma = 7/5$. At very high T: vibrational DOF activated.
Real gas: $(P + a/V_m^2)(V_m - b) = RT$. $a$ = intermolecular attraction correction. $b$ = finite molecular volume. At high $P$ or low $T$: deviates from ideal. Compressibility factor $Z = PV/nRT$. Ideal: $Z=1$. Real: $Z < 1$ (moderate $P$, attraction dominant), $Z > 1$ (high $P$, repulsion dominant). Boyle temperature: $T_B = a/(Rb)$ where $Z \approx 1$.
$P_{total} = P_1 + P_2 + \cdots$ (for ideal gas mixture). Partial pressure $P_i = x_i P_{total}$ where $x_i = n_i/n_{total}$ = mole fraction. Each gas behaves independently. Average molar mass of mixture: $M_{avg} = \sum x_i M_i$. Density of gas mixture: $\rho = P M_{avg}/(RT)$. Applications: air (N₂ + O₂ + Ar + CO₂ + ...), diving gas mixtures (adjust O₂ partial pressure for depth).
$\lambda = \frac{1}{\sqrt{2}\pi d^2 n}$ where $d$ = molecular diameter, $n$ = number density. $\lambda \propto 1/P$ (inversely proportional to pressure). At 1 atm, 25°C: $\lambda_{air} \approx 68$ nm. At low pressure (10⁻³ atm): $\lambda \approx 68$ μm (comparable to small device sizes). Determines: viscosity, thermal conductivity, diffusion rate. Knudsen number $= \lambda/L$ determines if continuum mechanics applies.