

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!


Final Exam, Math 151A/3, Fall 2001, UCLA, 12/11/2001, 8am-11am
This is a closed-book and closed-note examination. Please show all you work. Partial credit will be given to partial answers. There are 8 problems of total 100 points. Time: 3 hours.
Total โโโโโโโ-
I Construct in 3 different ways the Lagrange interpolating polynomial for the following data:
x f (x) = xex x 0 = 0 0 x 1 = 1 e x 2 = 2 2 e^2 Method 1: by the definition of the Lagrange polynomial. Method 2: by Nevilleโs method. Method 3: by Newtonโs interpolatory divided-difference formula. II For the data in problem I, write the error formula, and find an upper bound for the absolute error, for x = 0.5. III
0
f (x)dx = c 0 f (0) + c 1 f (x 1 )
has the highest possible degree of precision. What is that degree of precision? V The Trapezoidal rule applied to
โซ (^2) 0 f^ (x)dx^ gives the value 4, and Simpsonโs rule gives the value 2. What is f (1)? VI Consider f โ C^2 [a, b], h = bโ na , xj = a + jh, j = 0, 1 , ..., n, and ฮผ โ (a, b). The error term in the Composite Trapezoidal rule is:
โ
b โ a 12
h^2 f โฒโฒ(ฮผ).
(a) Determine the values of n and h required to approximate
โซ (^2) 0 xe xdx to within 10โ (^4) , by the
Composite Trapezoidal rule. (b) Write the approximation formula for n = 4. VII Solve the following linear system Ax = b, if possible, by Gaussian elimination with backward substitution, and determine whether row interchanges are necessary.
x 1 โ x 2 + 2 x 3 โ x 4 = โ 8 2 x 1 โ 2 x 2 + 3 x 3 โ 3 x 4 = โ 20 x 1 + x 2 + x 3 = โ 2 x 1 โ x 2 + 4 x 3 + 3 x 4 = 4. VIII For A the matrix coefficient of the linear system from problem VII, find a 4x4 permutation matrix P , such that P A can be factorized into LU, with L a lower triangular matrix with entries 1 on the diagonal, and U an upper triangular matrix. Find the matrices L and U. Without showing the details, what are the steps for solving the same system Ax = b, using the factorization P A = LU?