CS/MATH 3414 Assignment #2
Date Assigned: January 30, 2002
Date Due: February 6, 2002, in class, before class starts
Bisection Method
- (5 points) Exercise 3.1.9 (page 100) from your textbook. Use the
bisection method for this problem.
Newton's Method
- (5 points) Exercise 3.2.7 (page 114) from your textbook.
- (5 points) Exercise 3.2.10 (page 114) from your textbook. This was
partially worked out in class on January 28, 2002.
- (10 points) Exercise 3.2.26 (page 116) from your textbook. Notice
that
this problem references Exercise 3.2.25, which we have already covered in class.
- (10 points) Computer Problem 3.2.8 (page 119) from your textbook. Use MATLAB
or some other programming environment for this exercise, i.e., code up the Newton's algorithm
in MATLAB or a language of your choice.
First graph the function, visualize it, and then use your understanding
of the curve to select a suitable starting point. For full credit, give
(i) a printout of your code, (ii) your choice of starting point, and
(iii) the result(s).
Secant Method
- (5 points) Exercise 3.3.17 (page 131) of your textbook.
- (10 points) Computer Problem 3.3.7 (page 132) of your textbook. For
full credit, supply (i) printout of code for the Secant
method, (ii) details of when you stopped the iteration, (iii) the
iterate at this point, and (iv) your answer to the question about the
convergence.