Department of Mathematics

Math 300: Mathematical Computing

Maple ICE

Recall that if a function f has derivatives of every order at a point x0, then the Taylor polynomial of degree n for f is

pn(x) = f(x0) + f'(x0)(x - x0) + f''(x0)(x - x0)2/2! + . . . + f(n)(x0)(x - x0)n/n!.

Write a Maple procedure called as p:=mytaylor(f,x0,n) that returns a Taylor polynomial of degree n for a function you specify.

Assignment C is posted.

The test solution is available.

Department of Mathematics, PO Box 643113, Neill Hall 103, Washington State University, Pullman WA 99164-3113, 509-335-3926, Contact Us
Copyright © 1996-2015 Kevin Cooper