






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!







Jim Lambers Math 105A Summer Session I 2003- Practice Final Exam
i xi f (xi) f โฒ(xi) 0 โ 1 0 1 1 0 1 0 2 1 4 โ 1
โซ (^1)
โ 1
ex^ cos 2x dx
that is sixth-order accurate.
โซ (^1)
0
0
eโ(x+y)^ dy dx.
โซ (^1)
0
cos x โ x dx.
Gaussian quadrature nodes and weights on [โ 1 , 1]:
n Nodes Weights 2 0. 5773502692 1. 0000000000 โ 0. 5773502692 1. 0000000000 3 0. 7745966692 0. 5555555556
Divided Differences:
f [xi] = yi, f [xi, xi+1] = yi+1 โ yi xi+1 โ xi
f [xi, xi+1,... , xi+k] =
f [xi+1,... , xi+k] โ f [xi,... , xi+kโ 1 ] xi+k โ xi
Splines: If xj = x 0 + jh, j = 1, 2 ,... , n, then spline for f (x) on [x 0 , xn] is defined by
sj (x) = aj + bj (x โ xj ) + cj (x โ xj )^2 + dj (x โ xj )^2 , j = 0, 1 ,... , n โ 1 ,
h(cj + 4cj+1 + cj+2) = h 3
(aj+2 โ 2 aj+1 + aj ), j = 0, 1 ,... , n โ 2 aj = f (xj ), j = 0, 1 ,... , n, bj = aj+1 โ aj h
h
(2cj + cj+1), j = 0, 1 ,... , n โ 1 ,
dj =
cj+1 โ cj 3 h , j = 0, 1 ,... , n โ 1 , c 0 = cn = 0 (Free boundary conditions) h(2c 0 + c 1 ) =
h
(a 1 โ a 0 ) โ 3 f โฒ(x 0 ), (Clamped boundary conditions)
h(cnโ 1 + 2cn) = 3 f โฒ(xn) โ
h
(an โ anโ 1 )