Interpolation error.

  • Thread starter peripatein
  • Start date
  • #1
880
0
Hi,

Homework Statement


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.

Homework Equations




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!
 

Answers and Replies

  • #2
880
0
I have managed on my own with this one. Thank you in any case :).
 

Related Threads on Interpolation error.

  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
1
Views
28K
  • Last Post
Replies
1
Views
10K
  • Last Post
Replies
5
Views
3K
Replies
0
Views
1K
Replies
13
Views
2K
Replies
0
Views
1K
  • Last Post
Replies
1
Views
606
  • Last Post
Replies
1
Views
839
Top