Post Reply 
WP34S - f SLV used with user selectable variables
05-03-2018, 07:21 PM (This post was last modified: 05-03-2018 07:27 PM by Dieter.)
Post: #5
RE: WP34S - f SLV used with user selectable variables
(05-03-2018 03:56 PM)gomefun2 Wrote:  But I had a question. If I wanted to use a single equation with 40 variables,

40 variables?
Please post the equation – I am really curious. :-)

(05-03-2018 03:56 PM)gomefun2 Wrote:  My guess is something like:
String:"A?"
STO R00
String: "B?"
STO R01
... ETC

This only writes text to Alpha (and the next one is appended to the previous one). You will have to use PROMPT commands that stop for data entry, and maybe the current value in the respective register should be set as default (else you would have to re-enter all 40 variables). So it will be more like this:

Code:
CLα
α"A=?"
RCL 01
PROMPT
STO 01
CLα
α"B=?"
RCL 02
PROMPT
STO 02
...

You see, there is no INPUT command as featured on the 35s. There also is no equation mode. That's why I think the 35s may be the better option for this task. OK, essentially with 26 possible variables (unless you want to use the indirect registers).

(05-03-2018 03:56 PM)gomefun2 Wrote:  This seems as if it would take at least 200 lines of code to program a 40 variable equation (80 lines to store input variables,

40 variables with 5 lines each for data entry (see above) = 200 lines.

(05-03-2018 03:56 PM)gomefun2 Wrote:  then another 40 lines at least to put the equation in,

These 40 lines are required only to recall the 40 variables – without any mathematical operations. #-)

(05-03-2018 03:56 PM)gomefun2 Wrote:  then 20 (at least) lines for other stuff). Does this calculator only come with 527 lines of memory as the program screen would suggest?

The 34s comes with a certain amount of memory. You can allocate the required number of data registers by means of the REGS command (in the MODE menu, can be checked with REGS? in the P.FCN menu). The remaining memory can be used for programs. Switch to program mode (P/R) and see the number of available steps in the three-digit display on the right (normally used for the tens exponent).

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: WP34S - f SLV used with user selectable variables - Dieter - 05-03-2018 07:21 PM



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