Given,
T=27 ∘C=300 K
nH2=0.7 mol
Volume of the container=3 L
Let, PH2 and Pun be the partial pressures of hydrogen and unknown gas respectively and n be the number of moles of unknown gas.
PH2=0.73×0.082×300
Pun=n3×0.082×300
Adding both,
PH2+Pun=8.2=(1/3)×0.082×300(0.7+n)
⇒n=0.3 mol
Applying law of diffusion,
Rate of diffusion=Mole of gas effusedTime taken
So, rH2=0.720,run=0.320
∴ rH2run=√MgMH2
⇒0.7/200.3/20=√Mg2
⇒Mg=10.88 g