
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!

Math 527/CSCE 561 - Numerical Analysis Thursday March 30, 2006 Test # 2
Directions: Answer all parts of each problem. As usual, show your work for full credit.
b) Consider the table
x 1 − 2 3 y 3 1 − 2
Write the interpolating polynomial of minimal degree which fits the given data in its Lagrange form.
use Newton’s method to determine the interpolating polynomial y = p(x) of minimal degree. b) Write the resulting Newton representation of the polynomial in its nested form. c) From the divided difference table, what is the value of f [0, 1 , 2]?
p(x) = a 0 +
∑^ n
j=
aj Πj k−=0^1 (x − xk)
a) Write the psuedo code to efficiently evaluate the polynomial p, i.e. evaluate p in nested form. b) What is the computational complexity of this algorithm?
[4f (a + h) − 3 f (a) − f (a + 2h)] = f ′(a) + O(h^2 )
b) If f (x) = 2e−^2 x^ and a = 0, what value of h should be chosen above to guarantee an error from this procedure which does not exceed 10−^4.
∫ (^3)
− 1
(1 − x^2 ) dx
a) Compute the trapezoidal approximation for the partition {− 1 , 1 , 3 }. b) Perform one additional step of the recursive Trapezoidal approximation. c) Compute the Romberg approximation using these two estimates of the integral. d) Briefly indicate the idea for the error estimate for Romberg integration.
For extra credit of 15 points, discuss briefly the computational complexity of the recursive Trapezoidal rule and Romberg integration.