(11C) CUBIC EQUATION
|
06-10-2018, 03:34 PM
(This post was last modified: 06-10-2018 06:51 PM by Dieter.)
Post: #12
|
|||
|
|||
RE: (11C) CUBIC EQUATION
(06-10-2018 02:36 PM)Gamo Wrote: Somehow the program I listed seem to work. Did you really re-enter it completely from the listing in your first post? Look at this: Code: LBL 1 (06-10-2018 02:36 PM)Gamo Wrote: Under X<0 there is one STO 4 which follow by another conditional then branch to LBL 1 There is only one X<0? test in the whole program. (BTW I could hardly find it because instead of the "<" there is some other strange symbol). Look at the point with the X<0? test that you mentioned. This is the only place where X<0? appears in the program: Code: RCL 5 Here you said: (06-10-2018 02:36 PM)Gamo Wrote: Under X<0 there is one STO 4 which follow by another conditional then branch to LBL 1 As you can see there is no STO 4 below the X<0? test. And there also is no other conditional test following these steps. EDIT: I see you have changed your post. Now it says: "Under X>Y there is one STO 4 follow by X<0 then branch to LBL 1" There is only one x>y? test, so you seem to refer to this part of the code: Code: ABS Yes. there is a STO 4. But this is AFTER R4 has been recalled two times before – without anything having been stored there previously ! R4 is already recalled before this, four and seven steps after LBL 1. But at this point nothing has been stored there before. (06-10-2018 02:36 PM)Gamo Wrote: For now I provide the clips to show that this program work. It may well be that the program in your calculator is working. But that does not say anyting about the listing in the first post. Once again: Please, Gamo, check the listing carefully. It does not work the way you posted it. By the way: what does the program return for x³ – x² – x ? According to the listing this should throw an Error. This could be avoided with a slight change. Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)