Question:
An open vessel contains 200 mg of air at 17 degrees Celsius. What percentage of weight of air would be expelled if the vessel is heated to 117 degrees Celsius if the pressure is to remain constant:
Approach: We have $PV = nRT$
$n$ can be rewritten as $m\over{M}$, where $m$ is the weight of the gas while $M$ is the molecular mass of the gas. Thus: $$PV = \frac{m}{M}RT$$ The only two variables changing are $m$ and $T$
Substituting values, we have: $$PV = \frac{0.200}{M}R(290)$$ $$PV = \frac{m}{M}R(390)$$ Where $m$ is the mass of the gas remaining in the vessel. Dividing the two equations: $$\frac{390}{290} = \frac{0.200}{m}$$ $$m = 149 mg$$
From here, the percentage can be calculated easily. Is there any problem with this approach? Or is there any simpler approach that can be used. I am actually supposed to solve this question using Gay-Lussac's Law.