Implementation of the "general method" of error analysis based on partial derivatives. The function reads in an anonymous function handle and input values with uncertainties and returns output values with uncertainties.
Source: An Introduction to Error Analysis: the Study of the Uncertainties in Physical Measurements, by John Robert. Taylor, 2nd ed., University Science Books, 1997, pp. 73–76.