(HP71B) Newton's method
|
10-01-2023, 03:59 PM
Post: #1
|
|||
|
|||
(HP71B) Newton's method
Inspired by Csaba Tizedes videos about Newton's method
(09-23-2023 05:19 PM)Csaba Tizedes Wrote: https://www.youtube.com/shorts/1R3IMq227dM (09-23-2023 05:21 PM)Csaba Tizedes Wrote: Same, without d/dx() f'(x) ≈ (f(x+ε) - f(x-ε)) / (2ε) → f/f' needed 3 function calls per iteration. We may reduce this to about 2 calls per iteration. Redo same example in HP71B, for full convergence. Quote:1 DESTROY ALL @ C=0 >RUN Guess, Accuracy = 10, 1e-6 10 7.85714477037 6.29727032561 5.20041359757 4.4911553721 4.12133235435 4.00984649554 4.00007201239 4.00000000386 4 FNF calls = 19 For comparison, this is using video's formula for Newton's correction. There is no gain in rate of convergence ... just more function calls. >50 D = FNF(X)*R >60 C = C+3 >RUN Guess, Accuracy = 10, 1e-6 10 7.8571447704 6.29727032563 5.20041359761 4.49115522316 4.12133220071 4.00984642245 4.0000719974 4.00000000388 4 FNF calls = 27 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(HP71B) Newton's method - Albert Chan - 10-01-2023 03:59 PM
RE: (HP71B) Newton's method - Albert Chan - 10-01-2023, 04:34 PM
RE: (HP71B) Newton's method - Albert Chan - 10-01-2023, 09:47 PM
RE: (HP71B) Newton's method - Albert Chan - 10-02-2023, 04:04 PM
RE: (HP71B) Newton's method - Albert Chan - 11-12-2024, 12:12 PM
RE: (HP71B) Newton's method - Albert Chan - 11-13-2024, 01:12 PM
RE: (HP71B) Newton's method - Albert Chan - 11-13-2024, 08:38 PM
RE: (HP71B) Newton's method - Albert Chan - 11-18-2024, 01:22 PM
RE: (HP71B) Newton's method - Albert Chan - 11-21-2024, 12:08 AM
|
User(s) browsing this thread: 3 Guest(s)