Given,
T=27 ∘C=300K
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.0821×300
Pun=w3×0.0821×300
adding both,
PH2+Pun=9=(1/3)×0.0821×300(0.7+n)
n=0.3962 mole
Applying law of diffusion,
Rate of diffusion=Mole of gas effusedtime taken
So rH2=0.720,rg=0.396220
rH2rg=√MgMH2
0.7/200.3962/20=√Mg2 or Mg=6.24g