Docsity

Final Exam, Math 151A/3, Fall 2001, UCLA, Exams of Mathematics

Toggle sidebar
bg1
Final Exam, Math 151A/3, Fall 2001, UCLA, 12/11/2001, 8am-11am
NAME:
STUDENT ID #:
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.
SCORE:
I
โ€”โ€”โ€”โ€”โ€“
II
โ€”โ€”โ€”โ€”โ€“
III
โ€”โ€”โ€”โ€”โ€“
IV
โ€”โ€”โ€”โ€”โ€“
V
โ€”โ€”โ€”โ€”โ€“
VI
โ€”โ€”โ€”โ€”โ€“
VII
โ€”โ€”โ€”โ€”โ€“
VIII
โ€”โ€”โ€”โ€”โ€“
Total
โ€”โ€”โ€”โ€”โ€”โ€”โ€”-
pf2

Partial preview of the text

Download Final Exam, Math 151A/3, Fall 2001, UCLA and more Exams Mathematics in PDF only on Docsity!

Final Exam, Math 151A/3, Fall 2001, UCLA, 12/11/2001, 8am-11am

NAME:

STUDENT ID #:

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.

SCORE:

I

II

III

IV

V

VI

VII

VIII

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

  1. Giving two points x 0 and x 0 + h, with h > 0, and a function f โˆˆ C^2 [x 0 , x 0 + h], derive an approximation to f โ€ฒ(x 0 ), with error term.
  2. We consider again the data from problem I: xi f (xi) x 0 = 0 0 x 1 = 1 e x 2 = 2 2 e^2 Give: One approximation to f โ€ฒ(0) Three different approximations to f โ€ฒ(1) One approximation to f โ€ฒโ€ฒ(1) One approximation to f โ€ฒ(2) IV Find the constants c 0 , c 1 and x 1 so that the quadrature formula โˆซ (^1)

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?