from the chemical formula of an organic  compound number of atoms in each component is calculated in the chart