ppt_analyte: Precipitation Titration Curve: Monitoring pAnalyte

Description Usage Arguments Value Author(s) Examples

View source: R/ppt_analyte.R

Description

This function calculates and plots the precipitation titration curve for an analyte and a titrant that form a precipitate with a 1:1 stoichiometry. The calculation uses a single master equation that finds the volume of titrant needed to achieve a fixed concentration of the analyte, expressed as pAnalyte, as outlined in R. de Levie's Principles of Quantitative Chemical Analysis (McGraw-Hill, 1997).

Usage

1
2
ppt_analyte(conc.analyte = 0.025, conc.titrant = 0.05, vol.analyte = 50,
  pksp = 16.08, plot = TRUE, eqpt = FALSE, overlay = FALSE, ...)

Arguments

conc.analyte

Molar concentration of the analyte; defaults to 0.025 M.

conc.titrant

Molar concentration of the titrant; defaults to 0.050 M.

vol.analyte

The initial volume, in mL, of the solution containing the analyte; defaults to 50.00 mL.

pksp

The pKsp value for the precipitate; defaults to 16.08, which is the pKsp for AgI.

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 plot() function.

Value

A two-column data frame that contains the volume of titrant in the first column and the solution's pAnalyte 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
ex13 = ppt_analyte(eqpt = TRUE)
head(ex13)

### Overlay titration curves using different pKsp values 
ppt_analyte(pksp = 16, eqpt = TRUE)
ppt_analyte(pksp = 14, overlay = TRUE)
ppt_analyte(pksp = 12, overlay = TRUE)

Example output

     volume p.analyte
1 0.3037750      1.61
2 0.6836692      1.62
3 1.0605006      1.63
4 1.4342075      1.64
5 1.8047308      1.65
6 2.1720140      1.66

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