next up previous
Next: About this document ... Up: No Title Previous: No Title

Exercises

1.
For each function below,
(a)
Find the Taylor Polynomial for f(x) about x=a of order n for each function given below. Use the command TayPlot to plot the graph of the function as well as the approximating polynomials on the same plot using an interval of length 4 centered about x=a. By looking at this plot, can you find an interval of x values for which Pn(x) would approximate f(x) very well?
(b)
Use Pn(x) for the given n in each case to approximate the function at the given x value. To determine the accuracy of this approximation, use the Taylor remainder term $\displaystyle \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}$ to estimate the error. In order to do this, you will want to find the least upper bound for f(n+1)(c) where c is between a and x. Compare this estimation with the actual error |f(x)-Pn(x)|. What must be true about the relationship between the estimated error and the actual error?

(c)
Experiment with different values of n in the plot of the actual error to find the smallest possible degree of the Taylor Polynomial that approximates f on the interval from a to x with an error no greater than 0.0001. Use this value of n and Pn(x) to approximate f at the given x value and show that your approximation agrees with the actual answer to within 3 decimal places.

$\bullet$ $\displaystyle f(x) = e^{-x^2}$, a=0, x=0.5, n=8
$\bullet$ $\displaystyle f(x) = \arctan x$, a=1, $\displaystyle x=\frac{\pi}{2}$ radians, n=3

2.
For the function $f(x) = \ln(x+1)$, consider the Taylor Polynomial with base point x=0. Can you choose the order so that the Taylor polynomial is a good approximation (within 0.1, say) to $\ln(x+1)$ at x=2? How about at x=0.5 $\?$ Discuss the difference between the polynomials at these two points. Can you divide the real line up into two parts, one where the approximation is good and one where it is bad?


next up previous
Next: About this document ... Up: No Title Previous: No Title

Christine Marie Bonini
1/26/1999