This post is intended to complement the previous one [https://danbscott.ghost.io/diy-co2-aq/]
with a more theoretical look at dissolving carbon dioxide in water.
I wrote a script in R to draw a Deffeyes diagram. This diagram shows the
interplay between CO2, pH, and alkalinity
[https://en.wikipedia.org/