|
As I mentioned in an earlier post, I was looking at The Lagrange Remainder Theorem. This theorem states the remainder of a taylor polynomial to the nth degree is
Rn(x) = f(n+1)(c) / (n+1)! * (x-a)^(n+1). f(n+1) means the (n+1)th derivative of f. c is a number between the number we use for the taylor series expansion (0 in our case) and x (f(x) is what we're trying to approximate). With e, we can estimate |Rn(x)| < |x|^(n+1) / (n+1)! when x < 0. and Rn(x) < e^x * x^(n+1) / (n+1)! when x > 0. With this "error" function, I'm wondering if we can utilize this instead / in combination with the current implementation. We could use the above estimations of the remainder to find an n sufficient large enough such that we could use an nth degree polynomial to get within the desired precision. Works Cited Fitzpatrick, Patrick M. Advanced Calculus: A Course in Mathematical Analysis. International Thomson Publishing, 1996. Thomas, George B. and Finney, Ross L. Calculus and Analytic Geometry 7th Edition. Addision-Wesley Publishing Company, 1988. (These should be easily accessible in Crerar Library or Eckhart Library) |
The Lagrange remainder theorem is a great idea to use by Mike O'Donnell, 2002, Nov 29
to: