
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!

Math 151A Homework #2 – due Wednesday 10/18, in class
Show all your work!
2 to within 10−^4. As usual, submit your code and a list of intermediate approximations.
a. Use Newton’s method with an initial guess p 0 = 1. How does this compare with the bisection method (from last week’s homework), in terms of number of iterations required? b. Use Newton’s method with an initial guess p 0 = 0.0001. What happens to the number of iterations required, and why? c. Use the secant method with initial guesses p 0 = 1 and p 1 = 2. How does this compare to the Newton’s method from part a?
a. Show that p = 0 is a simple zero of f (x). b. Use Newton’s method to find the root to within 10−^6 , with initial guess p 0 = 1.
Now consider the similar function g(x) = x^3 + 4x^2.
c. Show that p = 0 is a zero of multiplicity 2 of g(x). d. Use Newton’s method to find the root to within 10−^6 , with initial guess p 0 = 1. e. Use the modified (multiple zero) Newton’s method to find the root to within 10−^6 , with initial guess p 0 = 1.