
Math 151A Homework #5
1. Consider the function f(x) = x5.
a. Use the points x={−1,0,1}and Newton’s divided differences to construct the inter-
polation polynomial through those points.
b. Now add the point x= 2.
c. Now use the points x={0,1}and the derivatives at those points to construct a Hermite
interpolating polynomial through those two points.
d. Plot all of these on the same plot.
2. Mean value theorem
Suppose f∈C1[a, b]. Then what do we know about the following quantity?
f(b)−f(a)
b−a
3. Round-off error
We can think of chopping as rounding down, and “rounding” as rounding off. Then if we
round up, what do we expect the error to be?
4. bisection method
Suppose we want to find the root of the function f(x) = sin3(x) on the interval [2,4]. How
many iterations of the bisection method will it take to compute the root to a precision of
10−8.
5. Newton’s method
What is the order of convergence of Newton’s method?
6. Computer arithmetic
Write the polynomial P(x)=3x2+ 2x2−x+ 1 in a form that minimizes the number of
arithmetic operations.
7. Lagrange polynomials
Draw the graph of the Lagrange polynomial L4,2.
8. Bisection method
Which theorem ensures that the bisection method always brackets a root?