Docsity

MATH 451-1 Midterm Exam: Iterative Formulas, Newton's Method, and Interpolation, Exams of Mathematics

Partial preview of the text

Download MATH 451-1 Midterm Exam: Iterative Formulas, Newton's Method, and Interpolation and more Exams Mathematics in PDF only on Docsity!

MATH 451-1 MIDTERM EXAMINATION

NAME: .....................

  1. (20 points). Consider the iterative formula:

xn+1 = 2xn −

x^2 n

  1. Assuming this converges to some solution in the interval [1. 5 , 2 .5], calculate this solution.
  2. If x 0 is chosen from [1. 5 , 2 .5], prove (using the theorem for general iterative methods) that the iterative formula will converge.
  1. (20 points). One can find the square root of a number c by solving the equation x^2 − c = 0 numerically using the Newton’s method.
  2. Show that Newton’s method leads to the iterative formula:

xn+1 =

xn + (^) xcn 2

  1. Suppose we want to find

5, and x 0 = 2. What is x 1? (Be careful with what is c here.)

  1. (Extra credit) Define the error en = xn −

c. Show that

en+1 = e^2 n 2 xn

  1. (20 points). Consider the following data

x 0 2 3 4 f (x) 7 11 28 63

  1. Construct the triangular table of divided differences.
  2. Write down the Newton’s interpolation polynomial. (You do not have to simplify it.)
  1. (20 points). Consider the piecewise polynomial

f (x) =

ax^3 + x^2 + cx x ∈ [− 1 , 0] bx^3 + x^2 + dx x ∈ [0, 1]

  1. For what values of a, b, c, d is f (x) a natural cubic spline?
  2. What if we add the extra requirement that f (x) interpolates 2 | 3 x |at the nodes − 1 , 0 , 1?