- 1. Using Maple to find Taylor polynomials.
- 2. Using Maple to find more Taylor polynomials.
- 3. Applications of Taylor polynomials.

**1. **
**Using Maple to find Taylor polynomials**
.
** **

Maple can compute Taylor Series and MacLaurin polynomials with the series command. For example, to compute the 5th order MacLaurin polynomial for the function

`> `
**f :=x->sqrt(x+1);**

we enter the commands below.

`> `
**taylor(f(x),x=0,6);**

`> `
**convert(%,polynom);**

In order to understand where these coefficients are coming from, let us apply the equation

=
+
**. . .**

where .

We compute some of the derivatives of our function at zero, to see the pattern.

`> `
**f(0),D(f)(0),(D@@2)(f)(0),(D@@3)(f)(0),(D@@4)(f)(0),(D@@5)(f)(0);**

The pattern is not too difficult to determine. The first coefficient is 1/2, the second is (3-2*2)/2 times the first, the third is the (3-2*3)/2 times the second, and the k-th coefficient is given by multiplying the previous coefficient by (3-2*k)/2.

The actual coefficients in the power series are given by dividing these derivatives by the appropriate factorial. Thus we have

`> `
**f(0)/0!,D(f)(0)/1!,(D@@2)(f)(0)/2!,(D@@3)(f)(0)/3!,(D@@4)(f)(0)/4!,(D@@5)(f)(0)/5!;**

Note that these are the first six coefficients in the Maclaurin series.

**Submission:**

For the functions below, do the following,

a) Find the 5th order Taylor polynomial about the point .

b) Use Taylor's theorem to find the coefficients as is illustrated above, and verify that they are the same as you

obtained in part a).

c) Plot the function and its 5th order Taylor polynomial n some interval containing the point .

**Submission worksheet:**

`> `

**2. ****Using Maple to find more Taylor polynomials.**

Recall the Taylor series (in Maple's notation) is given by

Maple can compute Taylor Series and MacLaurin polynomials with the series command. For example, to compute the 5th order MacLaurin polynomial for the function

`> `
**f :=x->sqrt(x+1);**

we enter the commands below.

`> `
**taylor(f(x),x=0,6);**

`> `
**convert(%,polynom);**

In order to understand where these coefficients are coming from, we compute some of the derivatives of our function at zero, to see the pattern.

`> `
**D(f)(0),(D@@2)(f)(0),(D@@3)(f)(0),(D@@4)(f)(0),(D@@5)(f)(0);**

The pattern is not too difficult to determine. The first coefficient is 1/2, the second is (3-2*2)/2 times the first, the third is the (3-2*3)/2 times the second, and the k-th coefficient is given by multiplying the previous coefficient by (3-2*k)/2.

**Submission:**

(a) Find the Taylor polynomial for at (that is find the McLauren polynomial) for .

Then graph the four polynomials and the secant function on the same set of axes.

(b) Find the Taylor polynomial for at for . Then graph the five polynomials

and the tangent function on the same set of axes. Designate the color of each graph so that you will know which graph corresponds to which polynomial.

(c) Write a short paragraph about what you observe.

**Submission worksheet:**

`> `

**3.**
** **
**Applications of Taylor polynomials.**
** **

The resistivity of a conducting wire is the reciprocal of the conductivity and is measured in units of ohm-meters ( -m). The resistivity of a given metal depends on the temperature according to the equation

where
* t*
is tempeature in Celsius,
is the temperature coefficient, and
is the resistivity at 20 degrees celsius.

This problem contains a theme common in many scientific problems. In this case resistivity depends exponentially on temperature. However, near 20 degrees C, we may approximate this relationship with a linear or quadratic one, which is usually easier to analyze. The linear and quadratic approximations are given by the first and second order Taylor polynomials centered at 20.

**Submission:**

(a) Find expressions for these linear and quadratic approximations.

(b) For copper we have per deg C and -m. Graph the resistivity of copper and

the lilnear and quadratic approximations for t between -250 and 1000 degrees celsius.

(c) For what values of
*t*
does the linear approximation agree with the exponential expression to within one percent?

**Submission worksheet:**

`> `

`> `

`> `