Calibration functions for analytical chemistry