\(Mg+2HCL\rightarrow MgCL_2+H_2\)
\(Mg+2H_2SO_4\rightarrow MgSO_4+H_2\)
\(2Al+3H_2SO_4\rightarrow Al_2\left(SO_4\right)_3+3H_2\)
\(2Al+6HCL\rightarrow2AlCl_3+3H_2\)
\(n_{H_2}=\dfrac{4,48}{22,4}=0,2\left(mol\right)\)
Gọi \(n_{Mg}=a\left(mol\right),n_{Al}=b\left(mol\right)\)
Theo PTHH ta có
\(n_{H_2}=n_{Mg}+1,5n_{Al}=a+1,5b=0,2\left(mol\right)\)
\(24a+27b=3,9\left(g\right)\) ➩\(a=0,05\left(mol\right)\) \(b=0,1\left(mol\right)\)
\(m_{Mg}=24.0,05=1,2\left(g\right)\)➩%Mg=\(\dfrac{1,2}{3,9}.100=31\%\)