appliedchemlabwork_tayra.D1.calc_ln#

appliedchemlabwork_tayra.D1.calc_ln(base: float, bi: float | floating[Any]) float | floating[Any][source]#
appliedchemlabwork_tayra.D1.calc_ln(base: ndarray[tuple[Any, ...], dtype[floating[Any]]], bi: float | floating[Any]) ndarray[tuple[Any, ...], dtype[float64]]

Calculates the value of the factor.

Parameters:
basefloat | floating[Any] | NDArray[floating[Any]]

The concentration of the base.

bifloat | floating[Any]

The terminal concentration of the base.

Returns:
valuefloat64

The value of the factor.

Notes

The yielding value is

\[\frac{1}{b_{\infty}} \ln \frac{b -{} x}{a -{} x}\]

where \(b\) is the initial concentration of the base, \(a\) is one of the ester, \(b_{\infty}\) is the terminal concentration of the base, and \(x\) is the concentration of the reacted base.