View Single Post
  #3  
Old November 3rd, 2009, 03:48 AM
HallsofIvy HallsofIvy is offline
MHF Contributor

 
Join Date: Apr 2005
Posts: 5,367
Thanks: 786
Thanked 1,906 Times in 1,759 Posts
HallsofIvy has a brilliant futureHallsofIvy has a brilliant futureHallsofIvy has a brilliant futureHallsofIvy has a brilliant futureHallsofIvy has a brilliant futureHallsofIvy has a brilliant futureHallsofIvy has a brilliant futureHallsofIvy has a brilliant futureHallsofIvy has a brilliant futureHallsofIvy has a brilliant futureHallsofIvy has a brilliant future
Default

There is a formula, which I suspect you were expected to know, that says the error, in cutting off a Maclaurin series of a function at the nth power, is less than or equal to \frac{M}{n!}|x|^n where "M" is an upper bound on the n+1 derivative of the function between 0 and x.

Here, since every derivative is again e^{x} and that has a maximum of 1 on any interval [-x, 0], that maximum error is \frac{1}{n!}< .000001. That is the same as saying that n!> 1000000
8!= 40320< 1000000 and 9!= 362880> 1000000 so you need 9 terms.
Reply With Quote