

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 2. (Due 14 October 2004)
Programming assignment (35 points)
N = 2, 4, 6, 8, 10 of these functions with i N N
i x (^) i , 0 , 1 ,...,
= − 1 + = (overlay
your plots) b. Plot on [-1. +1] the Hermite interpolation polynomials of degree N for
f x
( ) on [0,1] at the
points xi = i / N , i = 0,1,…,N converges to f by plotting the interpolation polynomials for N = 10, 20.
Paper and Pencil assignment (65 points)
0
x (^) i x
N
i
=
with Φ ( x (^) k )= fk , k = 0 , 1 , 2 ,..., N for prescribed support arguments x (^) 0 , x 1 ,..., xN
for which every linear interpolation problem has a unique solution, then for every choice of abscissas x (^) 0 , x 1 ,..., xN ; xi ≠ xj , i ≠ j y (^) 0 , y 1 ,..., yM ; yi ≠ yj , i ≠ j and support ordinates f (^) ik , i = 0 , 1 ,..., N ; k = 0 , 1 ,..., M there exists a unique function of the form
0 0
x y x y
N M ν μ μ
νμ ν
= =
with Φ ( x (^) i , yk )= fik , i = 0 , 1 , 2 ,..., N ; k = 0 , 1 ,..., M.
max | ( ) 0 ( )| 0 1
S (^) N x J x x
≤≤
as N →∞, where S ∆ (^) N is the interpolating spline function with the knot set ∆ (^) N ={ xiN }and S (^) ∆'^ N ( x )= J 0 '( x ), for x = 0, 1.
Verify that the moments m 1 (^) , m 2 ,..., mN − 1 of Sj are:
m = − mi + 1 i = j − i
−
m mi i j N Ni
1 1
1 1 2 − − −
− −− − −
j N j
j N j j h
m
, j ≠ 0 , 1 , N − 1 , N
1
1 j j
m (^) j = − h − m − −
−
, j ≠ 0 , 1 , N − 1 , N
1
1 j N j
m (^) j = − h − m − −−
1
1
= − =
−
i i
Hint: To get you started, you may wish to consult the text book. At the beginning of the derivation, the book noted that the second derivative of the spline function