Question: Numerical Differentiation: The most common numerical methods for approximating the derivatives of a function are based on interpolation. To approximate the klh derivative f(k)(x0) at
(a) f'(x) using a quadratic interpolating polynomial based on x - h, x, x + h.
(b) f'(x) with the same quadratic polynomial.
(c) f' (x) using a quadratic interpolating polynomial based on x, x + h,x + 2h.
(d) f' (x), f" (x),f" (.x) and f(iv)(x) using a quartic interpolating polynomial based on x - 2h.x - h,x, x + h, x + 2h.
(e) Test your methods by approximating the derivatives of e' and tan x at x = 0 with step sizes h = 1/10.1/100.1/1000.1/10000. Discuss the accuracies you observe. Can the step size be arbi-trarily small?
(f) Why do you need n ≥ k?
Step by Step Solution
3.57 Rating (161 Votes )
There are 3 Steps involved in it
a b c d e For fx ex at x 0 using single precision arithmetic we obtain the approximations For h 1 f x 100166750019844 f x 100083361116072 f x 99640457... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
952-M-L-A-E (2166).docx
120 KBs Word File
