If 3 moles of H2(g) is completely consumed, the total number of moles of HCl(g) produced is 3 moles HCl(g).
The balanced equation shows that H2 and Cl2 react in a 1:1 stoichiometric ratio. So, if 3 moles of H2(g) is completely consumed, we can determine the total number of moles of HCl(g) produced.
In this balanced equation, for every 2 moles of HCl(g) produced, there are 2 moles of H2 consumed. Therefore, the ratio can be expressed as:
2 moles HCl(g) / 2 moles H2(g) = 1 mole HCl(g) / 1 mole H2(g)
Since we have 3 moles of H2(g), we can use the ratio to calculate the number of moles of HCl(g) produced:
Moles of HCl(g) = (3 moles H2(g)) x (1 mole HCl(g) / 1 mole H2(g)) = 3 moles HCl(g)