all that typing, and no function.
How about you show your work, and how far you got?
Use forward and backward difference approximations of O(h) and a centered
difference approximation of O(h
2
) to estimate the first derivative of the
function below. Evaluate the derivative at x = 2 using a step size of h = 0.2.
Compare your results with the true value of the derivative. Interpret your
results on the basis of the remainder term of the Taylor series expansion.
1 answer