nH2= 0,15(mol)
PTHH: Mg + 2 HCl -> MgCl2 + H2
x______2x_______x________x(mol)
Fe+ 2 HCl ->FeCl2 + H2
y____2y______y___y(mol)
Ta có hpt: \(\left\{{}\begin{matrix}24x+56y=5,2\\x+y=0,15\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x=0,1\\y=0,05\end{matrix}\right.\)
mMg=0,1.24=2,4(g)
=> \(\%mMg=\dfrac{2,4}{5,2}.100\approx46,154\%\\ \Rightarrow\%mFe\approx53,846\%\)