Develop a program using a programming or macro language to implement Newtons method. The subroutine should have

Question:

Develop a program using a programming or macro language to implement Newton’s method. The subroutine should have the following features:
Iterate until the relative error falls below a stopping criterion or exceeds a maximum number of iteration.
Returns both the optimal x and ƒ(x).
Test your program with the same problem as Example 13.3.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Numerical Methods For Engineers

ISBN: 9780071244299

5th Edition

Authors: Steven C. Chapra, Raymond P. Canale

Question Posted: