Use Taylor series to derive the form of the truncation error of the approximation
Suppose f € C3. Given that the roundo error has the similar form as in the Forward Difference case, find an expression for the step size h that provides the smallest total (absolute) error. Change ForwardDifference.m to show how the total error in using Equation 1 behaves for severalvalues of h and comment on your results.