Given:
The number of moles in gas A is,
[tex]n_A=0.4\text{ mole}[/tex]The volume of gas A is,
[tex]V_A=220\text{ ml}[/tex]The volume of gas B is,
[tex]V_B=120\text{ ml}[/tex]To find:
The number of moles of gas in the container that holds them B
Explanation:
According to the ideal gas equation, as the constant temperature and pressure are constant,
[tex]\begin{gathered} PV=nRT \\ \frac{V}{n}=\frac{RT}{P} \\ \frac{V}{n}=constant \end{gathered}[/tex]So, we write,
[tex]\begin{gathered} \frac{V_A}{n_A}=\frac{V_B}{n_B} \\ n_B=\frac{V_Bn_A}{V_A} \\ n_B=\frac{120\times0.4}{220} \\ n_B=0.22 \end{gathered}[/tex]Hence, the number of moles of gas in container B is 0.22.