Homework/Programming 2. (Due Feb 4.)

advertisement
Homework/Programming 2. (Due Feb 4.)
Math. 417
Problem 1. Problem 1, page 75. Do by hand.
For the remainder of the problems, use a matlab code for Newtons method
to compute the until |f (xi )| < 10−8 . Report the starting iterate and the
iteration number and the the end value of xi , when |f (xi )| < 10−8 . Do this
for every real zero for every problem below.
Do this for the following problems.
(1) Problem 2, p.75.
(2) Problem 1, parts d/e of page 100.
(3) Problem 2, parts a,b,c of page 100. Note you only need to find the
real zeros.
(4) P (x) = 16x5 − 20x3 + 5x.
(5) P (x) = 64(x − 1)7 − 112(x − 1)5 + 56(x − 1)3 − 7x + 7.
Hand in the results for the above problems and your matlab code
implementing the Newton iteration.
1
Download