Learn R Programming

tidywater (version 0.9.0)

calculate_activity: Calculate activity coefficients

Description

This function calculates activity coefficients at a given temperature based on equation 5-43 from Davies (1967), Crittenden et al. (2012)

Usage

calculate_activity(z, is, temp)

Value

A numeric value for the activity coefficient.

Arguments

z

Charge of ions in the solution

is

Ionic strength of the solution

temp

Temperature of the solution in Celsius

Examples

Run this code
calculate_activity(2, 0.1, 25)

Run the code above in your browser using DataLab