sb_sa: Titration Curve for a Strong Base

Description Usage Arguments Value Author(s) Examples

View source: R/sb_sa.R

Description

This function calculates and plots the titration curve for a monoprotic strong base analyte using a monoprotic strong acid 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

1
2
sb_sa(conc.base = 0.1, conc.acid = 0.1, pkw = 14, vol.base = 50,
  plot = TRUE, overlay = FALSE, eqpt = FALSE, ...)

Arguments

conc.base

Molar concentration of the strong base analyte; defaults to 0.10 M.

conc.acid

Molar concentration of the strong acid titrant; defaults to 0.10 M.

pkw

The pKw (or pKs) value for the solvent; defaults to water as a solvent with a pKw of 14.

vol.base

Initial volume, in mL, of the solution that contains the strong base analyte; defaults to 50.00 mL.

plot

Logical; if TRUE, plots the titration curve.

overlay

Logical; if TRUE, adds the current titration curve to the existing titration curve.

eqpt

Logical; if TRUE, draws a vertical line at the titration curve's equivalence point.

...

Additional arguments to pass to plot() function.

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

1
2
3
4
5
6
7
8
### Simple titration curve with equivalence point
ex2 = sb_sa(eqpt = TRUE)
head(ex2)

### Overlay titration curves
sb_sa(conc.acid = 0.10)
sb_sa(conc.acid = 0.15, overlay = TRUE)
sb_sa(conc.acid = 0.20, overlay = TRUE)

Example output

        volume    ph
1 2.500430e-11 13.00
2 5.756208e-01 12.99
3 1.151089e+00 12.98
4 1.726252e+00 12.97
5 2.300959e+00 12.96
6 2.875056e+00 12.95

titrationCurves documentation built on May 2, 2019, 12:56 a.m.