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:

() = (:. q(0) = f(0), q| and q(T) = f(T). 2

Show that When approximating a function f using a Taylor polynomial, we

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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Calculus Early Transcendentals

ISBN: 978-0321947345

2nd edition

Authors: William L. Briggs, Lyle Cochran, Bernard Gillett

Question Posted: