Steven C. Chapra, Applied Numerical Methods with MATLAB for Engineers and Scientists, Second Edition, Boston, Massachusetts: McGraw-Hill, 2008, page 82-83.
See Also
sgm for geometric mean, shm for harmonic mean, cv for
coefficient of variation (CV), rms for root-mean-square (RMS), approxerror
for approximate error, and ranges for sample range.