Calculating AUC (Area under the Curve) using the Trapezoidal Rule

Calculating the Area under the Concentration versus Time curve (AUC) using the trapezoidal rule

See also: http://www.boomer.org/c/p4/c02/c0208.html