Docsity

Numerical Analysis Final Exam by Prof. Ming Gu - Prof. M. Gu, Exams of Mathematics

Toggle sidebar
bg1
Prof. Ming Gu, 861 Evans, tel: 2-3145
Math128A: Numerical Analysis Final Exam
This is a closed book, closed notes exam. You need to justify every one of your
answers. Completely correct answers given without justification will receive little
credit. Do as much as you can. Partial solutions will get partial credit. Look over
the whole exam to find problems that you can do quickly.
Problem Maximum Score Your Score
1 4
2 16
3 16
4 16
5 16
6 16
7 16
Total 100
1. (4 Points)
Your Name:
Your SID:
Your GSI:
pf3
pf4
pf5

Partial preview of the text

Download Numerical Analysis Final Exam by Prof. Ming Gu - Prof. M. Gu and more Exams Mathematics in PDF only on Docsity!

Prof. Ming Gu, 861 Evans, tel: 2- Email: [email protected]

Math128A: Numerical Analysis Final Exam

This is a closed book, closed notes exam. You need to justify every one of your answers. Completely correct answers given without justification will receive little credit. Do as much as you can. Partial solutions will get partial credit. Look over the whole exam to find problems that you can do quickly.

Problem Maximum Score Your Score

1 4

2 16

3 16

4 16

5 16

6 16

7 16

Total 100

  1. (4 Points)

Your Name:

Your SID:

Your GSI:

  1. (16 Points) Determine a polynomial p(x) of degree at most 2 such that p(−1) = 1, p(0) = 0, and p(1) = 1.
  1. (16 Points)

(a) Use the Simpson’s Rule ∫ (^) b

a

f (x)dx ≈

b − a 6

( f (a) + 4f (

a + b 2

) + f (b)

)

to evaluate the integral (^) ∫ 1 − 1

|x|x^2 dx . (b) Consider a quadrature of the form ∫ (^1)

− 1

|x| f (x)dx = A (f (x 1 ) + f (x 2 )).

Determine the constants A, x 1 and x 2 so quadrature has the highest degree of precision with respect to function f (x). What is the degree of precision?

  1. (16 Points)

(a) Let A =

( 1 2 2 5

)

. Compute the LU factorization of A without pivoting.

(b) Let A =

( a b b c

) and assume a 6 = 0. Let A = L U be the LU factorization of A without pivoting. Show that the pivots of A are positive if and only if A is symmetric positive definite. Recall that A is symmetric positive definite if and only if xT^ Ax > 0 for any non-zero 2-dimensional vector x.

  1. (16 Points) Consider the fixed point iteration

xk+1 = (α + 1)xk − x^2 k, k = 0, 1 , · · · ,

where α satisfying 1 ≥ α ≥ 12 is given.

(a) Show that the iteration converges for any initial guess x 0 satisfying α − 15 ≤ x 0 ≤ α + 15. (b) Assume that the iteration converges, find the value of α for which the method converges quadratically.