# Finding density of the gas mixture [closed]

A gas in a vessel is under pressure of $\pu{1800KPa}$. The design temperature of the tank is $\pu{423K}$. The gas consists of (by volume) $20\%$ of $\ce{CH4}$ and $80\%~\ce{N2}$. Estimate the density ($\pu{kg/m^3}$) of the gas.

I can't just use the ideal gas law to find out the density of the mixture as there is 2 components, right?

density = $\frac{P \times M_r}{RT}$

From the ideal gas law, I can also predict that vol% equals mol%. But with this, am I supposed to find the average value of $M_r$ and then substitute it into the equation above?

• Hi, welcome to Chem.SE! Is the last line actually "...of the gas mixture" in your question? – Gaurang Tandon Feb 22 '18 at 9:17
• @GaurangTandon nope. – user185692 Feb 22 '18 at 9:27
• Yes. What is the molar average molecular weight? (Hint: when we say 20% by volume, we mean that the mole fraction is 0.2) – Chet Miller Feb 22 '18 at 13:27

Once this is out of the way, you can think of density as: \begin{align} \text{density}&=\frac{\text{total mass}}{\text{total volume}}\\\\\ &=\frac{n_1M_1+n_2M_2}{(n_1+n_2)RT/P}\\\\ &=\frac{P(n_1M_1+n_2M_2)}{(n_1+n_2)RT}\\\\ &=\frac{PM_{\text{avg}}}{RT} \end{align}
PS: I do not understand what you're denoting by $M_\mathrm r$. But, the formula you were using is identical to mine if you swap $M_\mathrm r$ with $M_\text{avg}$.