Docsity

Assignment 2 Sample Questions - Applied Numerical Methods | MATH 151A, Assignments of Mathematics

Partial preview of the text

Download Assignment 2 Sample Questions - Applied Numerical Methods | MATH 151A and more Assignments Mathematics in PDF only on Docsity!

Math 151A Homework #2 – due Friday 10/10, in class

1 Find

2 to 4 decimal places, using the bisection method, Newton’s method, and the method of false position. Use p 0 = 1 for Newton’s method, and p 0 = 1 and p 1 = 2 for the others. Which converges the fastest? Slowest?

2 If you start with a = 1 and b = 2, how many iterations of the bisection method would it take to reach |pn − p| < 10 −^8?