Answer
2.89 M
Work Step by Step
Let the volume of the solution be 1 L.
$\text{Mass of the solution}=\text{Density}\times\text{Volume}$
$=0.979\, g/mL\times1000\, mL=979\,g$
$\text{Mass of ammonia}=979\,g\times\frac{5.03}{100}$
$=49.2437\, g$
$\text{Moles of ammonia}=\frac{49.2437\,g}{17.031\,g/mol}$
$=2.89\, mol$
$\text{Molarity}=\frac{\text{Moles of solute}}{\text{Volume of solution in L}}$
$=\frac{2.89\,mol}{1\,L}=2.89\,M$