Application of modified Gran functions and derivative methods to potentiometric acid titration studies of the distribution of inorganic carbon species in cultivation medium of marine microalgae