When approximating a function f using a Taylor polynomial, we use information about f and its derivatives
Question:
When approximating a function f using a Taylor polynomial, we use information about f and its derivatives at one point. An alternative approach (called interpolation) uses information about f at several different points. Suppose we wish to approximate f(x) = sin x on the interval [0, π].
a. Write the (quadratic) Taylor polynomial p2 for f centered at π/2.
b. Now consider a quadratic interpolating polynomial q(x) = ax2 + bx + c. The coefficients a, b, and c are chosen such that the following conditions are satisfied:
Show that
c. Graph f, p2, and q on [0, π].
d. Find the error in approximating f(x) = sin x at the points π/4, π/2, π/4, and π using p2 and q.
e. Which function, p2 or q, is a better approximation to f on [0, π]? Explain.
Step by Step Answer:
Calculus Early Transcendentals
ISBN: 978-0321947345
2nd edition
Authors: William L. Briggs, Lyle Cochran, Bernard Gillett