Solution:
Concept: Stoichiometry: the coefficients of a balanced equation give the ratio of moles in which substances react and form. So we change the given quantity to moles (mass ÷ molar mass, or volume at S.T.P. ÷ 22.4 L), use the mole ratio, and change back to mass (moles × molar mass) or volume (moles × 22.4 L at S.T.P.). For gases reacting with gases, volumes can be used directly in the ratio of the coefficients (Gay-Lussac's law).
Step 1 — (a) Read the mole ratio.
From the balanced equation:
P+5HNO3→H3PO4+H2O+5NO2
So P : H₃PO₄ : NO₂ = 1 : 1 : 5.
Step 2 — (a)(i) Moles of phosphorus.
The atomic mass of phosphorus is 31.
moles of P=319.3=0.3
Step 3 — (a)(ii) Mass of phosphoric acid.
The ratio is 1 : 1, and H₃PO₄ weighs 98 g per mole.
mass=0.3×98 g=29.4 g
Step 4 — (a)(iii) Volume of NO₂.
Five moles of NO₂ form per mole of P.
moles of NO2=5×0.3=1.5
volume=1.5×22.4 L=33.6 L

Step 5 — (b)(i) Find the limiting gas.
The reaction is:
N2+3H2→2NH3
The 67.2 L of hydrogen needs only one-third of its volume of nitrogen.
nitrogen needed=367.2 L=22.4 L
Since 44.8 L of nitrogen is present, hydrogen is used up first (limiting).
Step 6 — (b)(i) Ammonia formed and gas left.
Ammonia is two-thirds of the hydrogen volume.
volume of NH3=67.2×32 L=44.8 L
nitrogen left=44.8−22.4 L=22.4 L

Step 7 — (b)(ii) Relative molecular mass.
Since 5.6 dm³ at S.T.P. weighs 12.0 g, we scale up to 22.4 dm³.
molar mass=5.612.0×22.4 g=48 g
Step 8 — (b)(iii) Percentage of magnesium.
Mg(NO₃)₂·6H₂O has formula mass 24 + 2 × 62 + 6 × 18 = 256.
% Mg=25624×100=9.38%
Watch out: In (b)(i) the gas left over is nitrogen, the reactant in excess.
Therefore, (a)(i) 0.3 mole; (ii) 29.4 g; (iii) 33.6 litres of NO₂; (b)(i) 44.8 litres of ammonia, with 22.4 litres of nitrogen left; (ii) 48; (iii) 9.38% magnesium.