monoa {ch}R Documentation

Calculate The pH of weak acid/base

Description

Calculate the pH of weak acid or base.

Usage

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

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)

[Package ch version 0.1.0.2 Index]