10-18-2019, 03:31 AM
I am trying to set up a solver like the HP 12C solver on the Swiss Micros DM 41L. The equation I am using is:
a^2 + b = log c
where a is stored in Register 1, b is stored in Register 2, and c is stored in Register 3
My test data is:
XEQ DEMO
2.5 [ B ]
500 [ C ]
[ A ] 0.44606
1200 [ C ]
0.75 [ A ]
[ B ] 2.51668
.48 [ A ]
.33 [ B ]
[ C ] 3.63413
Demo - HP41C
In user mode, what I get is:
[ A ] leads to XEQ A
[ B ] leads to XEQ B
[ C ] leads to PSE
The [ C ] doesn't appear to work as intended. So I can't store values by pressing [ C ] nor solve.
I don't know if this is a bug.
Any thoughts? Thank you in advance.
a^2 + b = log c
where a is stored in Register 1, b is stored in Register 2, and c is stored in Register 3
My test data is:
XEQ DEMO
2.5 [ B ]
500 [ C ]
[ A ] 0.44606
1200 [ C ]
0.75 [ A ]
[ B ] 2.51668
.48 [ A ]
.33 [ B ]
[ C ] 3.63413
Demo - HP41C
Code:
01 LBL T^DEMO
02 SF 27 // turn on user mode
03 RTN
04 LBL A
05 FS? 22 // flag 22 set: in number enter mode
06 STO 01
07 FC? 22
08 GTO 01
09 CF 22
10 RTN
11 LBL 01 // calculate for a
12 RCL 03
13 LOG
14 RCL 02
15 -
16 SQRT
17 STO 01
18 RTN
19 LBL B
20 FS? 22
21 STO 02
22 FC? 22
23 GTO 02
24 CF 22
25 RTN
26 LBL 02
27 RCL 03
28 LOG
29 RCL 01
30 X↑2
31 -
32 STO 02
33 RTN
34 LBL C
35 FS? 22
36 STO 03
37 FC? 22
38 GTO 03
39 CF 22
40 RTN
41 LBL 03
42 RCL 01
43 X↑2
44 RCL 02
45 +
46 10↑X
47 STO 03
48 RTN
In user mode, what I get is:
[ A ] leads to XEQ A
[ B ] leads to XEQ B
[ C ] leads to PSE
The [ C ] doesn't appear to work as intended. So I can't store values by pressing [ C ] nor solve.
I don't know if this is a bug.
Any thoughts? Thank you in advance.