


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



UCLA MATH 151A/3, Monday October 29, 2001 MIDTERM EXAM
This is a closed-book and closed-note examination. Please show all your work. Partial credit will be given to partial answers. There are 4 problems of total 100 points.
PROBLEM 1 2 3 4 TOTAL SCORE
(a) Do three iterations (by hand) of the bisection method, applied to f (x) = x^3 โ 2, using a = 0 and b = 2 (find p 0 , p 1 and p 2 ). (b) How many iterations does the theory predict it will take to achieve 10โ^5 accuracy, to ap- proximate the root of x^3 โ 2 = 0 by the bisection method on the interval [0, 2]?
(a) By a theorem from the course, show that the function g(x) = 1 + eโx^ has a unique fixed point on [1, 2] (given values: eโ^1 = 0.3679, eโ^2 = 0.1353). (b) For p 0 = 1, compute p 1 using the fixed-point iteration. (c) How many iterations does the theory predict it will take to achieve 10โ^5 accuracy, to ap- proximate the fixed point, starting with p 0 = 1?
(a) Construct the Lagrange polynomial interpolating the points x 0 = 0 and x 1 = h, to approxi- mate the function f (x) = cos x, where h > 0 is a small parameter. (b) Write down the error formula as applied to the above interpolation. Find an upper bound for the error on the interval [0, h], function of the parameter h. (c) Construct the Lagrange polynomial interpolating the points x 0 = 0, x 1 = h, and x 2 = 2h to approximate the function f (x) = cos x.