Post Reply 
HP50G Bisection methode
10-02-2020, 11:30 PM (This post was last modified: 10-03-2020 03:01 AM by acser.)
Post: #5
RE: HP50G Bisection methode
I was not able to get the code posted here earlier to work.

Checked https://www.math.ubc.ca/~pwalls/math-pyt...bisection/ for the algorithm of bisection.

This worked for me:

<< -> x << x 5 ^ 5 - >> >>
‘F’
STO
[Enter]

1 [Enter]
2 [Enter]

<< 0 -> A B C
<<
DO A B + 2. / DUP ‘C’ STO
IF ‘F(A)*F(C)<0.’ THEN ‘B’ STO END
IF ‘F(B)*F(C)<0.’ THEN ‘A’ STO END
UNTIL ‘ABS(A-B)<0.00000001’
END
C
>>
>>

[Enter]
Find all posts by this user
Quote this message in a reply
Post Reply 


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)