Ta có: 27nAl + 24nMg = 12,6 (1)
PT: \(2Al+6HCl\rightarrow2AlCl_3+3H_2\)
\(Mg+2HCl\rightarrow MgCl_2+H_2\)
Theo PT: \(n_{H_2}=\dfrac{3}{2}n_{Al}+n_{Mg}=\dfrac{14,874}{24,79}=0,6\left(mol\right)\left(2\right)\)
Từ (1) và (2) \(\Rightarrow\left\{{}\begin{matrix}n_{Al}=0,2\left(mol\right)\\n_{Mg}=0,3\left(mol\right)\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}m_{Al}=0,2.27=5,4\left(g\right)\\m_{Mg}=0,3.24=7,2\left(g\right)\end{matrix}\right.\)
\(\left\{{}\begin{matrix}\%m_{Al}=\dfrac{5,4}{12,6}.100\%\approx42,9\%\\\%m_{Mg}\approx57,1\%\end{matrix}\right.\)