Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Calculate error using Lagrange formula

  1. May 7, 2008 #1
    hi everyone! I'm having difficulty figuring this problem out. so here goes:

    f(x) = sin(x)

    Use the Lagrange formula to find the smallest value of n so that the nth degree Taylor polynomial for f centered at x = 0 approximates f at x = 1 with an error of no more that 0.001.

    whatever help anyone can provide would be great
  2. jcsd
  3. May 7, 2008 #2


    User Avatar
    Science Advisor

    Well, the first thing I would do is write out the "Lagrange" formula for the error! Then follow that formula. Knowing that sin(x) and cos(x) are never larger than 1 helps.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook