- #1

- 880

- 0

## Homework Statement

Interpolation for the function f(x)=cos(x) for evenly distributed values of x in [0,π] (h=x

_{i+1}-x

_{i}, x

_{i}=ih, i=0,1,...,πh) is carried out. Also known are f(x

_{i}).

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-x

_{i+1})(x-x

_{i})(x-x

_{i-1})|.

I'd truly appreciate some assistance. Thanks in advance!