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)
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.
() = (:. q(0) = f(0), q| and q(T) = f(T). 2
Step by Step Solution
3.47 Rating (154 Votes )
There are 3 Steps involved in it
a The quadratic Taylor polynomial for sin a centered at is P2x sin cos x 7 sin x 1 1 d Evaluating th... View full answer
Get step-by-step solutions from verified subject matter experts
