Gọi $n_{Mg} = a(mol) ; n_{Al} = b(mol) \Rightarrow 24a + 27b = 0,78(1)$
$Mg + 2HCl \to MgCl_2 + H_2$
$2Al + 6HCl \to 2AlCl_3 + 3H_2$
Theo PTHH :
$n_{H_2} = a + 1,5b = \dfrac{0,896}{22,4} = 0,04(2)$
Từ (1)(2) suy ra a = 0,01 ; b = 0,02
$m_{Mg} = 0,01.24 = 0,24(gam)$
$m_{Al} = 0,02.27 = 0,54(gam)$
Mg+2HCl->Mgcl2+H2
x--------------------------x
2Al+6HCl->2AlCl3+3H2
y---------------------------1,5y
Ta có :
\(\left\{{}\begin{matrix}24x+27y=0,78\\x+1,5y=0,04\end{matrix}\right.\)
=>x=0,01 ,y=0,02 mol
=>mMg=0,01.24=0,24 g
=>mAl=0,02.27=0,54g