Post Reply 
(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.
...
USER INSTRUCTIONS:
1. Initialize f [REG]

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
Code:
...
LBL 8
RCL 7
RCL 6
x
RCL 4
X=Y
GTO 7
...

Here your program differs from the listing:

Code:
RCL 7
RCL 6
x
RCL 4   // these three lines
+       // are not in the
STO 5   // 29C listing
RCL 4
X=Y
GTO 3

(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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(11C) CUBIC EQUATION - Gamo - 06-09-2018, 11:49 AM
RE: (11C) CUBIC EQUATION - Gamo - 06-09-2018, 12:34 PM
RE: (11C) CUBIC EQUATION - Dieter - 06-09-2018, 12:54 PM
RE: (11C) CUBIC EQUATION - rprosperi - 06-09-2018, 01:00 PM
RE: (11C) CUBIC EQUATION - Dieter - 06-09-2018, 06:05 PM
RE: (11C) CUBIC EQUATION - Dieter - 06-09-2018, 07:50 PM
RE: (11C) CUBIC EQUATION - Dieter - 06-10-2018, 07:15 AM
RE: (11C) CUBIC EQUATION - Dieter - 06-10-2018, 09:17 PM
RE: (11C) CUBIC EQUATION - Albert Chan - 07-20-2021, 10:12 PM
RE: (11C) CUBIC EQUATION - Gamo - 06-10-2018, 02:42 AM
RE: (11C) CUBIC EQUATION - Gamo - 06-10-2018, 02:36 PM
RE: (11C) CUBIC EQUATION - Dieter - 06-10-2018, 03:34 PM
RE: (11C) CUBIC EQUATION - Dieter - 06-10-2018, 09:35 PM
RE: (11C) CUBIC EQUATION - Gamo - 06-11-2018, 02:16 AM
RE: (11C) CUBIC EQUATION - Dieter - 06-11-2018 07:04 AM
RE: (11C) CUBIC EQUATION - Gamo - 06-11-2018, 08:19 AM
RE: (11C) CUBIC EQUATION - Dieter - 06-11-2018, 08:19 PM
RE: (11C) CUBIC EQUATION - Gamo - 06-12-2018, 07:02 AM



User(s) browsing this thread: 1 Guest(s)