

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!


Guidelines: The exam will be closed book and closed notes, except that one page (both sides of a standard letter-size page) of handwritten notes is allowed. No calculators or computers will be allowed. Please write out your solutions neatly, including all necessary intermediate steps, and indicate clearly all final answers.
f ( x )= 0.
(a) Derive a method for solving this equation that is similar to Newton’s method but that uses the first three terms of a Taylor series expansion instead of the first two terms. (b) Prove that this method has a cubic rate of convergence.
a. Use Gaussian elimination to construct the LU decomposition of A. b. Use this LU decomposition to construct the inverse of A. c. Compute the condition number of A using the row (infinity) norm. Is A an ill-conditioned matrix?
a. How many unknown parameters must be determined to uniquely specify S ( x )? b. What are the conditions that are imposed on S ( x ) at all the interior knots in order to determine these unknown parameters? How many additional conditions must be imposed at the end knots to uniquely specify S ( x )? Give an example of one choice for these end conditions?
c. Consider the case with N = 2, such that x 0 = 1, x 1 = 2 and x 2 = 3 and f ( x 0 ) = 0, f ( x 1 ) = 3 and f ( x 2 ) = 1. Is the following function a cubic spline fit to f ( x )? Give the reasons for your answer.
2 3 2 3
13 31 23 5 for 1 2 ( ) 35 51 22 3 for 2 3
x x x x S x x x x x
a. Using a Taylor series, derive a formula that approximates f ′(^ x 1 )with
1 0 0 2
x (^) h x
where h = x 1 (^) − x 0.
(a) Use a Taylor series expansion to derive this rule and to obtain an expression for the error in terms of h and the second derivative of f ( x ). (b) Derive the composite midpoint rule for the integral of f ( x ) over the interval [ a , b ] by dividing the interval into N segments each of length h = ( b – a )/ N and applying the midpoint rule on each segment. (c) Derive the error term associated with the composite midpoint rule.
2 3 0 , and ( 0 ) 1 , 0 , 2 0
2
2
0
2 2
2 3
3 + = = = =^ −
x = dx x =
d y dx
dy y y dx
dy dx
d y dx
d y ,
a. Write this differential equation as a system of first-order ordinary differential equations b. Use one step of the explicit Euler method to estimate y at x = h.