HP50G Bisection methode
|
10-07-2020, 09:15 PM
(This post was last modified: 10-07-2020 09:34 PM by acser.)
Post: #8
|
|||
|
|||
RE: HP50G Bisection methode
Thanks, Albert. I have not yet looked at the Ridders' method.
Here's the updated HP50g RPL code: Copy and paste the below code under the "---" to the Emu48 stack then use the HP 50g program ASCIBIN.49 found at https://www.hpcalc.org/details/3648 to convert it to a proper HP 50g program on the stack. ‰ is the <= sign ([LS] [X]) and Š is the HP >= sign ([LS] [1/x]) --- %%HP: T(1)A(R)F(.); « IF OVER F OVER F > THEN SWAP END 0. 0. -> R A B C FC « DO A B + 2. / 'C' STO 'F(C)' EVAL 'FC' STO IF FC 0. ‰ THEN C 'A' STO END IF FC 0. Š THEN C 'B' STO END UNTIL 'ABS(A-B)< .0000001' END C » » |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP50G Bisection methode - tigger - 07-24-2015, 12:01 PM
RE: HP50G Bisection methode - Gilles - 07-24-2015, 04:35 PM
RE: HP50G Bisection methode - Namir - 07-29-2015, 11:37 AM
RE: HP50G Bisection methode - Namir - 07-29-2015, 11:31 AM
RE: HP50G Bisection methode - acser - 10-02-2020, 11:30 PM
RE: HP50G Bisection methode - Albert Chan - 10-03-2020, 02:03 AM
RE: HP50G Bisection methode - Albert Chan - 10-04-2020, 03:04 PM
RE: HP50G Bisection methode - acser - 10-07-2020 09:15 PM
RE: HP50G Bisection methode - John Keith - 10-08-2020, 11:55 AM
RE: HP50G Bisection methode - acser - 10-08-2020, 12:55 PM
|
User(s) browsing this thread: 1 Guest(s)