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.).
Step 1 — Read the mole ratio.
From the balanced equation:
2NH4Cl+Ca(OH)2→CaCl2+2H2O+2NH3
So NH₄Cl : NH₃ = 2 : 2, that is 1 : 1.
Step 2 — Find the moles of ammonium chloride.
The molar mass of NH₄Cl is 14 + 4 + 35.5 = 53.5 g.
moles of NH4Cl=53.521.4=0.4
Step 3 — (a) Mass of ammonia.
The ratio is 1 : 1, so 0.4 mole of NH₃ (17 g per mole) forms.
mass of NH3=0.4×17 g=6.8 g
Step 4 — (b) Volume at S.T.P.
Each mole of gas occupies 22.4 L at S.T.P.
volume=0.4×22.4 L=8.96 L

Therefore, (a) 6.8 g of ammonia can be obtained; (b) it occupies 8.96 litres at S.T.P.