Determine the molecular formula.
Procedure:
1) You know that this compound's percent composition is as follows
Molar mass = 45 g/mol
C => 79.9%
H => 20.1%
It means:
[tex]\begin{gathered} 45\text{ g Compound }x\text{ }\frac{79.9\text{ g C}}{100\text{ g }Compound}\text{ = 35.95 g C} \\ 45\text{ g Compound x }\frac{20.1\text{ g H}}{100\text{ g Compound}}=9.04\text{ g H} \end{gathered}[/tex]2) Now you have to use the atomic mass in grams of C and H, and determine how many moles of each you need in one mole of your compound.
Atomic masses from the periodic table:
C= 12.01 g/mol
H=1.00 g/mol
For C:
[tex]35.95\text{ g C x }\frac{1\text{ mole C}}{12.01\text{ g C}}\text{ = 2.99 moles = 3 moles (aprrox.)}[/tex]For H:
[tex]9.04\text{ g H x}\frac{1\text{ mole H}}{1.00\text{ g H}}=\text{ 9.04 moles = 9 moles (aprrox.)}[/tex]Now our molecular formula:
[tex]C_3H_9[/tex](Note: I'm going to skip the empirical formula, I will get directly the molar mass)