powered by
This function calculates activity coefficients at a given temperature based on equation 5-43 from Davies (1967), Crittenden et al. (2012)
calculate_activity(z, is, temp)
A numeric value for the activity coefficient.
Charge of ions in the solution
Ionic strength of the solution
Temperature of the solution in Celsius
calculate_activity(2, 0.1, 25)
Run the code above in your browser using DataLab