Calculation of Carbon Dioxide Production