Combustion Analysis Get the empirical formula of a hydrocarbon given the grams of CO2 and grams of H2O formed from its combustion. Grams of CO2: Grams of H2O: Calculate