Last data update: 2014.03.03

R: K_BOH3
K_BOH3R Documentation

K_BOH3

Description

PUBLIC function: calculates the dissociation constant of B(OH)3

Usage

K_BOH3(S, t, p=0, SumH2SO4=NULL, SumHF=NULL, khf="dickson", 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

SumH2SO4

total sulfate concentration in mol/kg-solution (calculated from S if not supplied)

SumHF

total fluoride concentration in mol/kg-solution (calculated from S if not supplied)

khf

S, t relation for K_HF needed for scale conversion: either "dickson" (default, Dickson1979a) or "perez" (Perez1987a)

khso4

S, t relation for K_HSO4 needed for scale conversion: either "dickson" (default, Dickson1990) or "khoo" (Khoo1977)

Value

the dissociation constant of B(OH)3 in mol/kg-solution on the free proton pH scale

Author(s)

Andreas F. Hofmann (a.hofmann@nioo.knaw.nl)

References

Dickson1990, DOE1994, Millero1995 (molality version given), Zeebe2001

Examples

K_BOH3(35, 15)
K_BOH3(35, 15, 10)
K_BOH3(S=35, t=15, p=10, SumH2SO4=0.03)
plot(K_BOH3(35, 1:25), xlab="temperature / degC")

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(AquaEnv)
Loading required package: minpack.lm
Loading required package: deSolve

Attaching package: 'deSolve'

The following object is masked from 'package:graphics':

    matplot

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/AquaEnv/K_BOH3.Rd_%03d_medium.png", width=480, height=480)
> ### Name: K_BOH3
> ### Title: K_BOH3
> ### Aliases: K_BOH3
> ### Keywords: misc
> 
> ### ** Examples
> 
> K_BOH3(35, 15)
[1] 1.611066e-09
attr(,"unit")
[1] "mol/kg-soln"
attr(,"pH scale")
[1] "free"
> K_BOH3(35, 15, 10)
[1] 1.630933e-09
attr(,"unit")
[1] "mol/kg-soln"
attr(,"pH scale")
[1] "free"
> K_BOH3(S=35, t=15, p=10, SumH2SO4=0.03)
[1] 1.614758e-09
attr(,"unit")
[1] "mol/kg-soln"
attr(,"pH scale")
[1] "free"
> plot(K_BOH3(35, 1:25), xlab="temperature / degC")
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>