Approximate ????(????(????))
????????
using forward,
backward, and central differences at ???? = 2. Use
????? = 0.1. Calculate the true relative error ????????
for
forward, backward, and central differences.
Which approximation is more accurate and why?
Note: the true value can be obtained be
differentiating the function ????(????) then evaluate the
results at ???? = 2