Small Solver Program
|
12-01-2019, 12:13 AM
(This post was last modified: 01-04-2020 09:58 PM by Albert Chan.)
Post: #28
|
|||
|
|||
RE: Small Solver Program
(11-10-2019 07:02 PM)Albert Chan Wrote: rate iteration formula: x ← (f(x) - r x) / (1-r) The formula actually approximate Newton's method. Let g(x) = x - f(x) → solving for x=f(x) is same as solving g(x)=0 g'(x) = 1 - f'(x) ≈ 1 - r x ← (f(x) - r x) / (1-r) ≈ ((x - g(x)) - (1 - g'(x))*x) / g'(x) = x - g(x) / g'(x) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 8 Guest(s)