Post Reply 
Newton Method
05-14-2016, 07:49 PM
Post: #8
RE: Newton Method
(05-13-2016 01:59 PM)Namir Wrote:  The short equation to calculate h was suggested by my Numerical Analysis professor, Brice Carnahan, at the University of Michigan. I have used it for over 30 years and it works like a charm! Carnahan is the co-author of "Applied Numerical Methods" a book that uses FORTRAN code. I bought his book, in Paris, many months before I attended his class at the University of Michigan.

The equation for calculating h is very convenient in high-level programming languages.

Namir

Namir, I plugged your formula into the above program. Using the example equation given above, with guesses of 0 & -1, it reached the same result with the same number of iterations (5). However with a guess of 1, yours converged faster, cutting the number of iterations from 25 to 18. Interesting!

Thanks!


Regards,
Bob
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Newton Method - bshoring - 05-11-2016, 07:54 PM
RE: Newton Method - Dieter - 05-11-2016, 08:40 PM
RE: Newton Method - Namir - 05-12-2016, 08:47 PM
RE: Newton Method - Dieter - 05-12-2016, 09:17 PM
RE: Newton Method - Namir - 05-13-2016, 01:59 PM
RE: Newton Method - bshoring - 05-14-2016 07:49 PM
RE: Newton Method - Dieter - 05-14-2016, 10:23 PM
RE: Newton Method - Namir - 05-15-2016, 02:00 AM
RE: Newton Method - Dieter - 05-15-2016, 01:11 PM
RE: Newton Method - Namir - 05-15-2016, 01:57 PM
RE: Newton Method - bshoring - 05-12-2016, 12:10 AM
RE: Newton Method - bshoring - 05-14-2016, 06:36 AM
RE: Newton Method - SlideRule - 08-24-2016, 12:08 PM
RE: Newton Method - Pekis - 08-24-2016, 12:20 PM
RE: Newton Method - Csaba Tizedes - 08-24-2016, 08:37 PM
RE: Newton Method - Duane Hess - 08-25-2016, 04:47 AM
RE: Newton Method - Namir - 08-25-2016, 05:00 AM
RE: Newton Method - rprosperi - 08-25-2016, 04:19 PM
RE: Newton Method - bshoring - 08-27-2016, 03:09 AM
RE: Newton Method - Duane Hess - 08-27-2016, 06:31 AM
RE: Newton Method - SlideRule - 08-28-2016, 02:57 AM
RE: Newton Method - rprosperi - 08-29-2016, 12:46 AM



User(s) browsing this thread: 1 Guest(s)