Small Solver Program
|
11-10-2019, 07:02 PM
Post: #27
|
|||
|
|||
RE: Small Solver Program
(11-03-2019 03:14 PM)Albert Chan Wrote: Except for r=1, rate formula work even if iterations diverges (|r| > 1) Proof: Assumed rate r = Δxi+1 / Δxi = constant, we extrapolate for the converged value. if |r| < 1: x∞ = x0 + (x1 - x0) + (x2 - x1) + ... = x0 (1 + r + r² + ...) = x0/(1-r) if |r| > 1: we can visualize it as iterate back-in-time, with rate of 1/r x0 - x-∞ = (x0 - x-1) + (x-1 - x-2) + (x-2 - x-3) + ... = x0 (1 + 1/r + 1/r² + ...) x-∞ = x0 (1 - 1/(1-1/r)) = x0/(1-r) x∞ and x-∞ have the same expression ! x0/(1-r) = (x1 - (x1 - x0)) / (1-r) = (f(x0) - r x0) / (1-r) rate iteration formula: x ← (f(x) - r x) / (1-r) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)