Where, represent the pressure and number of moles of gas A.
For ideal gas B, the ideal gas equation is given by,
Where, represent the pressure and number of moles of gas B.
(V and T are constants for gases A and B)
From equation (i), we have
From equation (ii), we have
Where, MA and MB are the molecular masses of gases A and B respectively.
Given,
(Since total pressure is 3 bar)
Substituting these values in equation (v), we have
Thus, a relationship between the molecular masses of A and B is given by
.