
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

EAD210A- Numerical Methods _ Rao Vemuri
Homework Assignment 1. (Due 7 October 2004)
Programming Problem.
xi 0 1 3 fi 1 3 2
Find P(2) where P ε ∏ 2 and P(x (^) i ) = fi , for i = 0, 1, 2.
= ( 1 ) ... , ( 1 )
0
0 x x for j N
for j N
for j cx N
N
j i
N
i
i
= i =
i xi
π
cos( sin )
J ( x ) x t dt
is to be tabulated at equidistant arguments xi = x 0 + ih , I = 0,1,2,… How small must the increment h be chosen so that the interpolation error remains below 10-6^ , if linear interpolation is used? (b) What is the behavior of the maximal interpolation error
max | ( ) 0 ( )| 0 1 PN x J x x
≤≤ as n → ∞, if PN(x) interpolates J 0 (x) at x = xiN : = i / N , i = 0 , 1 ,..., N? Hint: It suffices to show that | J (^) 0 k^ ( x )|≤ 1 for k = 0, 1,…