To solve this problem, we need to apply the ideal gas law and the relations between pressure, volume, density, and molecular weight. The ideal gas law is given by:
Here, P is the pressure, V is the volume, n is the number of moles, R is the universal gas constant, and T is the temperature.
We are given that the pressure of gas A is twice that of gas B:
The density relation is given as the density of gas A is 1.5 times the density of gas B:
Density \(\rho\) can be expressed in terms of molecular weight (M) using the relation:
Applying this formula for both gases and using the given conditions:
Simplifying, since the temperature and gas constant are the same and cancel out:
Substituting P_A = 2P_B into the equation:
Canceling P_B from both sides:
Solving for the ratio of the molecular weights:
Therefore, the ratio of the molecular weights of A and B is \[\frac{3}{4}\].