The Mathematics of the Carbon Dioxide Scrubber