A sample of solid magnesium reacts with excess $\ce{HCl}$ solution to form hydrogen gas. The sample of gas measures $1.628\ \mathrm{L}$ at $22.0\ \mathrm{^\circ C}$ and $0.930\ \mathrm{atm}$ of pressure.
a) how many moles of gas were collected?
b) how many grams of magnesium did you start out with?
First I stated by writing the chemical equation
$\ce{Mg + HCl -> H2 + MgCl}$
then convert the temperature to kelvin and pressure to atm and volume to L
$V = 1.628\ \mathrm{L}$
$T = 295.15\ \mathrm{K}$
$P = 0.930\ \mathrm{atm}$
$PV = nRT$
$0.930\ \mathrm{atm} \cdot 1.628\ \mathrm{l} = n \cdot 0.08206\ \mathrm{l\ atm\ K^{-1}\ mol^{-1}} \cdot 295.15\ \mathrm{K}$
which will give that $n = 16.0\ \mathrm{mol}$. Did I do this correctly?