A11.0g sample of a compound containing only oxygen and carbon produce 3.0g carbon and 8.0 oxygen.Determine the empirical formula of the compound

11.0 g sample. 3.0 g C. 8.0 g Oxygen.

mols C = 3.0/12 = 0.25
mols O = 8.0/16 = 0.5
Convert to whole numbers with no number being smaller than 1.0.
mols C = 0.25/0.25 = 1.00
mols O = 0.50/0.25 = 2.00 so formula is CO2