monoa: Calculate The pH of weak acid/base

Description Usage Arguments Value Examples

View source: R/monoa.R

Description

Calculate the pH of weak acid or base.

Usage

1
2
3
4
5
monoa(ka, c, digits = 2)

monob(ka, c, digits = 2)

mono(ka, c, digits = 2, acid = TRUE, kw = 1e-14)

Arguments

ka

ionization constant.

c

concentration.

digits

digit of the output.

acid

if TRUE, it is equivalent to monoa function; if FALSE, it is equivalent to monob function.

kw

the default is 1e-14

Value

monoa() will return the pH of weak acid, the monob() will return the pH of weak base. And you can also use the mono() function to replace the monoa() function and monob() function.

Examples

1
2
3
4
monoa(1.4 - 6, 2.35e-2)
monoa(2.78e-8, 0.01)
monob(1.35e-5, 0.01)
monob(2.4 - 6, 1e-4)

ch documentation built on July 9, 2021, 9:07 a.m.