Compounds containing carbon and hydrogen are combusted to give CO
2 and H
2O.
The compound that is combusted is the only source of the carbon in the CO
2.
Thus the mass of carbon,
m(C) present can be calculated from the mass of CO
2,
m(CO
2) as shown below.
m(CO
2)
n(CO
2)
n(C)
m(C)
Note that the calculation depends on the fact that the amount in molesIn(CO2) is equal to the amount in moles n(C) in that mass of CO2. The amount in moles of any substance can be calculated from the mass by dividing by its molar mass.
The compound that is combusted is only source of the hydrogen in H
2O. Thus in a similar calculation the mass of hydrogen in the original compound can be calculated from the mass of H
2O.
m(H
2O)
n(H
2O)
n(H)
m(H)
Be sure to take into account the fact that there are two hydrogens per mole of water.
If the compound also contains oxygen, the mass of oxygen can be calculated from the difference in the mass of the compound burned and the mass of the carbon and hydrogen present.