1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Interpolation error.

  1. Oct 31, 2013 #1
    1. The problem statement, all variables and given/known data
    Interpolation for the function f(x)=cos(x) for evenly distributed values of x in [0,π] (h=xi+1-xi, xi=ih, i=0,1,...,πh) is carried out. Also known are f(xi).
    I am asked to determine the value of h so that the interpolation's error is ≤ 5*10-8.

    2. Relevant equations

    3. The attempt at a solution
    I have found f'''(x) for x in [0,π] to be ≤ 1.
    Now I am stuck with evaluating |(x-xi+1)(x-xi)(x-xi-1)|.
    I'd truly appreciate some assistance. Thanks in advance!
  2. jcsd
  3. Oct 31, 2013 #2
    I have managed on my own with this one. Thank you in any case :).
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted