Here is a worked example. Just follow the steps.
http://www.jiskha.com/science/chemistry/stoichiometry.html
How many grams of H2(g) can theoretically be produced from a 5-g sample of magnesium metal and excess HCl(aq)?
1 answer