Here's my work:
0.493 g Total, Molar mass= 86 amu
1.261 g CO2 (1 mol CO2 / 44.0096 g CO2)(1 mol C / 1 mol CO2)(12.0108 g C / 1 mol C) = 0.3441 g C
0.516 g H2O (1 mol H2O / 18.0153 g H2O)(2 mol H / 1 mol H2O)(1.00794 g H / 1 mol H) = 0.0577 g H
0.493 g total - 0.3441 g C - 0.0577 g H = 0.0912 g O
0.3441 g C (1 mol C / 12.0108 g C) = 0.02865 mol C
0.0577 g H (1 mol H / 1.00794 g H) = 0.0572 mol H
0.0912 g O (1 mol O / 15.9994 g O) = 0.0057 mol O
Empirical Formula: C0.02865H0.0572O0.0057 <- Divide by smallest number (0.0057)
Empirical Formula: C5H10O
To calculate the molecular formula, divide the molar mass of the unknown compound by the molar mass of the empirical compound.
Molar Mass of the Empirical Compound: (5)(12.0108) + (10)(1.00794) + 15.9994 = 86.1328
86 amu / 86.1328 amu = approx. 1.
Therefore, the molecular formula is: C5H10O