03.03.2014 Views

Numerical Methods Course Notes Version 0.1 (UCSD Math 174, Fall ...

Numerical Methods Course Notes Version 0.1 (UCSD Math 174, Fall ...

Numerical Methods Course Notes Version 0.1 (UCSD Math 174, Fall ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

152 APPENDIX A. OLD EXAMS<br />

A.6 Final Exam, <strong>Fall</strong> 2004<br />

[Definitions] Answer all of the following.<br />

P1 (10 pnts) Clearly state Taylor’s Theorem for f(x + h). Include all hypotheses, and state the<br />

conditions on the variable that appears in the error term.<br />

P2 (10 pnts) Write the iteration for Newton’s Method or the Secant Method for finding a root to<br />

the equation f(x) = 0. Your solution should look something like:<br />

x k+1 =?? + ??<br />

??<br />

P3 (10 pnts) Write the general form of the iterated solution to the problem Ax = b. Let Q be<br />

your “splitting matrix,” and use the factor ω. Your solution should look something like:<br />

??x (k) =??x (k−1) +?? or x (k) =??x (k−1) +??<br />

For one of the following variants, describe what Q is, in relation to A : Richardson’s, Jacobi,<br />

Gauss-Seidel.<br />

P4 (10 pnts) Define what it means for the function f(x) ∈ F to be the least squares best approximant<br />

to the data<br />

x 0 x 1 . . . x n<br />

y 0 y 1 . . . y n<br />

[Problems] Answer all of the following.<br />

P1 (10 pnts) Rewrite this system of higher order ODEs as a system of first order ODEs:<br />

⎧<br />

x ′′ (t) = x ′ (t) [x(t) + ty(t)]<br />

y ′′ (t) = y ′ (t) [y(t) − tx(t)]<br />

⎪⎨<br />

x ′ (0) = 1<br />

x(0) = 4<br />

y ′ (0) = −3<br />

⎪⎩<br />

y(0) = −2<br />

P2 (10 pnts) Consider the ODE: {<br />

x ′ (t) = t (x + 1) 2<br />

x(2) = 1/2<br />

Use Euler’s Method to find an approximate value of x(2.1) using a single step.<br />

P3 (10 pnts) Let φ(h) be some computable approximation to the quantity L such that<br />

φ(h) = L + a 4 h 4 + a 8 h 8 + a 12 h 12 + . . .<br />

Combine evaluations of φ(·) to devise a O ( h 8) approximation to L.<br />

P4 (15 pnts) Consider the approximation<br />

f ′ (x) ≈<br />

9f(x + h) − 8f(x) − f(x − 3h)<br />

12h<br />

(a) Derive this approximation using Taylor’s Theorem.<br />

(b) Assuming that f(x) has bounded derivatives, give the accuracy of the above approximation.<br />

Your answer should be something like O ( h ?) .

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!