Post Reply 
(12C Platinum) Zero of Function
02-03-2019, 01:31 PM
Post: #2
RE: (12C Platinum) Secant Method
Hi, Gamo

I thought Secant's method required 2 points, thus 4 variables: (x0, f0), (x1,f1)
Interpolate the line to (x2, 0):

Slope = (f1-f0)/(x1-x0) = (f1-0)/(x1-x2)

--> x2 = x1 - f1/(f1-f0) * (x1-x0)

The method only use the most recent 2 points.
There should be some updates: x0,f0,x1,f1 = x1,f1,x2,f(x2)

For your code, I did not see f0 anywhere.

Also, your code seems to start the equation at line 023.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(12C Platinum) Zero of Function - Gamo - 02-03-2019, 10:34 AM
RE: (12C Platinum) Secant Method - Albert Chan - 02-03-2019 01:31 PM
RE: (12C Platinum) Secant Method - Dieter - 02-03-2019, 05:57 PM
RE: (12C Platinum) Secant Method - Gamo - 02-04-2019, 01:00 AM



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