Ta có: 24nMg + 27nAl = 3,84 (1)
PT: \(Mg+2HCl\rightarrow MgCl_2+H_2\)
\(2Al+6HCl\rightarrow2AlCl_3+3H_2\)
Theo PT: \(n_{H_2}=n_{Mg}+\dfrac{3}{2}n_{Al}=\dfrac{4,7101}{24,79}=0,19\left(mol\right)\left(2\right)\)
Từ (1) và (2) \(\Rightarrow\left\{{}\begin{matrix}n_{Mg}=0,07\left(mol\right)\\n_{Al}=0,08\left(mol\right)\end{matrix}\right.\)
⇒ mMg = 0,07.24 = 1,68 (g)
mAl = 0,08.27 = 2,16 (g)