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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix A<br />

Old Exams<br />

A.1 First Midterm, <strong>Fall</strong> 2003<br />

P1 (7 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 (7 pnts) Write out the Lagrange Polynomial l 0 (x) for nodes x 0 , x 1 , . . . , x n . That is, write the<br />

polynomial that has value 1 at x 0 and has value 0 at x 1 , x 2 , . . . , x n .<br />

P3 (7 pnts) Write the Lagrange form of the polynomial of lowest degree that interpolates the<br />

following values:<br />

x k −1 1<br />

y k 11 17<br />

P4 (14 pnts) Use the method of Bisection for finding the zero of the function f(x) = x 3 − 3x 2 +<br />

5x − 5 2 . Let a 0 = 0, and b 0 = 2. What are a 2 , b 2 ?<br />

P5 (21 pnts) • Write out the iteration step of Newton’s Method for finding a zero of the function<br />

f(x). Your iteration should look like<br />

x k+1 = ??<br />

• Write the Newton’s Method iteration for finding √ 5.<br />

• Letting x 0 = 1, find the x 1 and x 2 for your iteration. Note that √ 5 ≈ 2.236.<br />

P6 (7 pnts) Write out the iteration step of the Secant Method for finding a zero of the function<br />

f(x). Your iteration should look like<br />

x k+1 = ??<br />

P7 (21 pnts) Consider the following approximation:<br />

f ′ (x) ≈ f(x + h) − 5f(x) + 4f(x + h 2 )<br />

3h<br />

• Derive this approximation using Taylor’s Theorem.<br />

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

Your answer should be something like O ( h ?) .<br />

• Let f(x) = x 2 . Approximate f ′ (0) with this approximation, using h = 1 3 .<br />

P8 (21 pnts) Consider the data:<br />

k 0 1 2<br />

x k 3 1 −1<br />

f(x k ) 5 15 9<br />

145

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

Saved successfully!

Ooh no, something went wrong!