$$Mg\rightarrow Mg^{2+}+2eN^{5+}+3e\rightarrow N^{2+ }N^{5+}+8e\rightarrow N^{3-}Bảo toàn e: 2\times nMg = 3\times nNO + 8\times nNH_{4}NO_{3}\Leftrightarrow 0,07\times 2 = 0,02\times 3 + 8\times nNH_{4}NO_{3}\Rightarrow nNH_{4}NO_{3} = 0,01Bảo toàn N:nHNO_{3} = 2\times nMg + nNO +2\times nNH_{4}NO_{3}=2\times 0,07+0,02+2\times 0,01=0,18 (mol)\Rightarrow a = 0,18\div 0,5 = 0,36 $$
$$Mg\rightarrow Mg^2++2e
$$$$N^{5+}+3e\rightarrow N^{2+ }
$$$$N^{5+}+8e\rightarrow N^{3-}
$$$$Bảo toàn e: 2\times nMg = 3\times nNO + 8\times nNH_{4}NO_{3}
$$$$\Leftrightarrow 0,07\times 2 = 0,02\times 3 + 8\times nNH_{4}NO_{3}
$$$$\Rightarrow nNH_{4}NO_{3} = 0,01
$$Bảo toàn N:
$$nHNO_{3} = 2\times nMg + nNO +2\times nNH_{4}NO_{3}
$$$$=2\times 0,07+0,02+2\times 0,01
$$=0,18 (mol)
$$\Rightarrow a = 0,18\div 0,5 = 0,36 $$