Learn R Programming

AquaEnv (version 1.0-4)

K_HSO4: K\_HSO4

Description

PUBLIC function: calculates the dissociation constant of HSO4

Usage

K_HSO4(S, t, p=0, khso4="dickson")

Arguments

S
salinity in practical salinity units (i.e. no unit)
t
temperature in degrees centigrade
p
gauge pressure (total pressure minus atmospheric pressure) in bars
khso4
"dickson" or "khoo": specifies the S, t, dependency to be used. Default is "dickson". (see section below for references)

Value

the dissociation constant of HSO4 in mol/kg-solution on the free proton pH scale

References

"dickson": Dickson1990, DOE1994, Zeebe2001; "khoo": Khoo1977, Roy1993, Millero1995

Examples

Run this code
K_HSO4(35, 15)
K_HSO4(35, 15, 10)
plot(K_HSO4(35, 1:25), xlab="temperature / degC")

Run the code above in your browser using DataLab