\[n_{H_2}=\dfrac{3,36}{22,4}=0,15(mol)\]
Gọi số mol Mg, Fe lần lượt là $a;b$
$Mg+H_2SO_4\to MgSO_4+H_2$
$Fe+H_2SO_4\to FeSO_4+H_2$
Ta có hệ phương trình:
\[\left\{\begin{matrix} 24a+56b=5,2 & \\ a+b=0,15& \end{matrix}\right.\] \[\to \left\{\begin{matrix} a=0,1(mol) & \\ b=0,05(mol)& \end{matrix}\right.\]
\[\to m_{Mg}=0,1\times 24=2,4(g)\]
\[\to \%m_{Mg}=\dfrac{2,4}{5,2}\times 100\%=46,15\%\]
\[\to \%m_{Fe}=100\%-46,15\%=53,85\%\]