powered by
This function calculates the corrected equilibrium constant for temperature and ionic strength
correct_k(water)
A dataframe with equilibrium constants for co3, po4, so4, ocl, and nh4.
Defined water with values for temperature and ion concentrations
water_defined <- define_water(7, 20, 50, 100, 80, 10, 10, 10, 10, tot_po4 = 1) correct_k(water_defined)
Run the code above in your browser using DataLab