Heads up for a hot new root seeking algorithm!!
01-23-2017, 11:11 AM (This post was last modified: 01-23-2017 11:12 AM by Dieter.)
Post: #21
 Dieter Senior Member Posts: 2,398 Joined: Dec 2013
RE: Heads up for a hot new root seeking algorithm!!
(01-21-2017 02:35 PM)Namir Wrote:  Regarding the link to the article you mentioned in your message. Can you check the new algorithm by the author Thukral. I implemented equation 7 in the article and got bizarre results! Perhaps I am doing something wrong? When I replaced the second subtraction in equation 7 with a multiplication, the algorithm worked but was painfully slow to converge!

Ad fontes! Always use the original source, i.e. the paper mentioned in footnote 7.

Indeed there is an error in equation (20) of the quoted text. The correct formula has the derivative $$f'(x_n)^2$$ as the first term of the first nominator, and not the function $$f(x_n)^2$$ as shown in the linked article.

Dieter
 « Next Oldest | Next Newest »