New Root-Seeking Algorithms
|
04-04-2017, 02:39 PM
(This post was last modified: 04-04-2017 02:43 PM by emece67.)
Post: #14
|
|||
|
|||
RE: New Root-Seeking Algorithms
You will also need to modify the stopping criterion as, simply relaying on the difference between the last two root estimations is not adequate. The convergence is, sometimes, so fast that at the 2nd or 3rd iteration, although being Abs(X - LastX) greater than Toler, the function does indeed evaluate to 0.
I ended up with: Code:
I can confirm that the other methods do also benefit from decreasing the constant in the computation of h (your Hyper-Secant included. I've not tested the Super-Secant). |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 15 Guest(s)