(11C) CUBIC EQUATION
|
06-11-2018, 07:04 AM
(This post was last modified: 06-11-2018 07:06 AM by Dieter.)
Post: #17
|
|||
|
|||
RE: (11C) CUBIC EQUATION
(06-11-2018 02:16 AM)Gamo Wrote: Thank You for reviewing this program I noticed that this routine take a long time to run and must be something wrong in the original coding. There we are: This initializes R4 (and all other registers) with zero. So the suggested CLX STO 4 in my previous post seems to be a good idea. (06-11-2018 02:16 AM)Gamo Wrote: 2. 10^4 [STO] 0 10^4 ? Your program stores 10^–4 instead. Which seems to make more sense. (06-11-2018 02:16 AM)Gamo Wrote: Program: CUBIC EQUATION Here your program differs from the listing: Code: RCL 7 (06-11-2018 02:16 AM)Gamo Wrote: Under user instruction the first step said Initialize f [REG] is this to make sure that each RUN register R4 is clear and that start R4 with zero ? Yes, exactly. That's why you should add a STO 4 after the CLX in the LBL A part. I did so and it seems to work. So the issue now seems to be resolved. Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)