K\_HSO4

Description

PUBLIC function: calculates the dissociation constant of HSO4

Usage

1
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

Author(s)

Andreas F. Hofmann. Maintained by Karline Soetaert (Karline.Soetaert@nioz.nl).

References

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

Examples

1
2
3
K_HSO4(35, 15)
K_HSO4(35, 15, 10)
plot(K_HSO4(35, 1:25), xlab="temperature / degC")