What is the molecular formula of a compound containing only carbon and hydrogen if combustion of $1.05~\mathrm{g}$ of the compound produces $3.30~\mathrm{g}~\ce{CO2}$ and $1.35~\mathrm{g}~\ce{H2O}$ and its molar mass is about $70~\mathrm{g}$?
Here is my work:
$$ \begin{array}{cccccc} & \ce{C_{a}H_{b}} & \ce{->} & \ce{CO2} & + & \ce{H2O} \\ \text{masses (g)} & 1.05 & & 3.30 & & 1.35 \end{array} $$
\begin{align*} \ce{CO2} &\rightarrow \ce{C} \\ 44~\mathrm{g} &\rightarrow 12~\mathrm{g} \\ 3.30~\mathrm{g} &\rightarrow x \end{align*}
$$ x = 0.9~\mathrm{g},~\text{moles of C} = \frac{0.9}{12} = 0.075 $$
\begin{align*} \ce{H2O} &\rightarrow \ce{2H} \\ 18~\mathrm{g} &\rightarrow 2~\mathrm{g} \\ 1.35~\mathrm{g} &\rightarrow y \end{align*}
$$ y = 0.15~\mathrm{g},~\text{moles of H} = \frac{0.15}{1} = 0.15 $$
$$ \text{empirical formula}~\ce{C_{0.075/0.075}H_{0.15/0.075} -> CH2} $$
$$ \frac{70}{14} = 5 $$
$$ \text{molecular formula is}~\ce{C5H10} $$