wa_sb {titrationCurves} | R Documentation |
Titration Curve for a Weak Acid
Description
This function calculates and plots the titration curve for a monoprotic weak acid analyte using a monoprotic strong base as the titrant. The calculation uses a single master equation that finds the volume of titrant needed to achieve a fixed pH, as outlined in R. de Levie's Principles of Quantitative Chemical Analysis (McGraw-Hill, 1997).
Usage
wa_sb(conc.acid = 0.1, conc.base = 0.1, pka = 5, pkw = 14,
vol.acid = 50, plot = TRUE, eqpt = FALSE, overlay = FALSE, ...)
Arguments
conc.acid |
Molar concentration of the weak acid analyte; defaults to 0.10 M. |
conc.base |
Molar concentration of the strong base titrant; defaults to 0.10 M. |
pka |
The pKa value for the weak acid analyte; defaults to a pKa of 5. |
pkw |
The pKw (or pKs) value for the solvent; defaults to water as a solvent with a pKw of 14. |
vol.acid |
Initial volume, in mL, of the solution that contains the weak acid analyte; defaults to 50.00 mL. |
plot |
Logical; if TRUE, plots the titration curve. |
eqpt |
Logical; if TRUE, draws a vertical line at the titration curve's equivalence point. |
overlay |
Logical; if TRUE, adds the current titration curve to the existing titration curve. |
... |
Additional arguments to pass to |
Value
A two-column data frame that contains the volume of titrant in the first column and the solution's pH in the second column. Also produces a plot of the titration curve with options to display the equivalence point and to overlay titration curves.
Author(s)
David T. Harvey, DePauw University. harvey@depauw.edu
Examples
### Simple titration curve with equivalence point
ex3 = wa_sb(eqpt = TRUE)
head(ex3)
### Overlay titration curves using different pKa values
wa_sb(pka = 5, eqpt = TRUE)
wa_sb(pka = 7, overlay = TRUE)
wa_sb(pka = 9, overlay = TRUE)
### Overlay titration curve for strong acid and weak acid
sa_sb(eqpt = TRUE)
wa_sb(overlay = TRUE)