43S Alternative key layout --> WP43C

General discussion about calculators, Swiss Micros or otherwise
pyridine
Posts: 11
Joined: Fri Sep 01, 2017 11:48 pm

Re: 43S Alternative key layout --> WP43C

Post by pyridine » Mon Oct 12, 2020 8:54 pm

Update #42 (! special number !) worked like a charm, with DMCP3.20, using layout L2.
Thanks !

User avatar
Jaymos
Posts: 623
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos » Tue Oct 13, 2020 6:26 pm

Ohhhh. I missed the actual number!!

Next time 43!
Jaco Mostert
Elec Eng, South Africa
WP34C, HP42S, DM42 for complex math; 35S, 28C, 32Sii, WP34S, EL-506P, EL-W506, PB700; owned FX702P & 11C; used 67 & 85. iOS: 42s (Byron), Free42, WP31S/34S, HCalc.
WP43C running on DM42 sn. 03818 .

User avatar
Jaymos
Posts: 623
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos » Wed Oct 14, 2020 11:43 pm

pyridine wrote:
Mon Oct 12, 2020 8:54 pm
Update #42 (! special number !) worked like a charm, with DMCP3.20, using layout L2.
Thanks !
pyridine, come to think of "42", try this on your C43:

Code: Select all

g[X<>Y] to get EXP menu
RCL 15 
FN1 to do a cube
RCL 16
FN1 to do a cube
RCL 17
FN1 to do a cube
+
+
Yes it has the 3 integers to be cubed in registers 15,16 & 17.
Jaco Mostert
Elec Eng, South Africa
WP34C, HP42S, DM42 for complex math; 35S, 28C, 32Sii, WP34S, EL-506P, EL-W506, PB700; owned FX702P & 11C; used 67 & 85. iOS: 42s (Byron), Free42, WP31S/34S, HCalc.
WP43C running on DM42 sn. 03818 .

User avatar
Walter
Posts: 1606
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

Re: 43S Alternative key layout --> WP43C

Post by Walter » Wed Oct 14, 2020 11:55 pm

Let me guess: WP43S Owner's Manual, p. 137f. 8-)
DM42 SN: 00041 Beta
WP 43S running on this device

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

User avatar
Jaymos
Posts: 623
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos » Thu Oct 15, 2020 12:34 am

Walter wrote:
Wed Oct 14, 2020 11:55 pm
Let me guess: WP43S Owner's Manual, p. 137f. 8-)
No, it is not from there; but I won't be surprised if the integers are identical ;-)


It does also have more test stuff pre-loaded in registers to play with:

Some primes to do testing using PRIME? and NEXTP:

Code: Select all

R27 = "225251798594466661409915431774713195745814267044878909733007331390393510002687"
R26 = "4776913109852041418248056622882488319"
R25 = "195845982777569926302400511"
R24 = "7369130657357778596659"
R23 = "18446744082299486207"
R22 = "18014398241046527"
R21 = "Primes: Carol, Kynea, repunit, Woodal"
A fraction to play with, to compare and test the 34 digits in the C43, using pi on f[Rv]: It actually gives 0 when pi is subtracted from this fraction.

Code: Select all

R20 = "842468587426513207"
R19 = "2646693125139304345"
R18 = "37 digits of pi, Reg19 / Reg20."
3 cubed integers to make 42: I just love the fact that all those digits are there and accurate.

Code: Select all

R17 = "12602123297335631"
R16 = "80435758145817515"
R15 = "-80538738812075974"
R14 = "Reg 15, 16 & 17 have: The 3 cubes = 42."
3 cubed integers to make 3:

Code: Select all

R13 = "-472715493453327032"
R12 = "-569936821113563493509"
R11 = "569936821221962380720"
R10 = "Reg 11,12 & 13 have: The 3 cubes = 3."
Jaco Mostert
Elec Eng, South Africa
WP34C, HP42S, DM42 for complex math; 35S, 28C, 32Sii, WP34S, EL-506P, EL-W506, PB700; owned FX702P & 11C; used 67 & 85. iOS: 42s (Byron), Free42, WP31S/34S, HCalc.
WP43C running on DM42 sn. 03818 .

pyridine
Posts: 11
Joined: Fri Sep 01, 2017 11:48 pm

Re: 43S Alternative key layout --> WP43C

Post by pyridine » Fri Oct 16, 2020 11:26 pm

Jaymos wrote:
Wed Oct 14, 2020 11:43 pm

pyridine, come to think of "42", try this on your C43:

Code: Select all

g[X<>Y] to get EXP menu
RCL 15 
FN1 to do a cube
RCL 16
FN1 to do a cube
RCL 17
FN1 to do a cube
+
+
Yes it has the 3 integers to be cubed in registers 15,16 & 17.
And we have the answer to the meaning of life, the universe, and everything !

Numbers shall always marvel me...

User avatar
Jaymos
Posts: 623
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos » Mon Oct 19, 2020 2:05 am

This week's contributions to download:

C43 Simulator for Windows: https://classic43.com/downloads/C43_EMU ... _Rel43.zip
Be sure to delete the binary.bin file from the C43 folder prior to running.
Thanks Dani for the help compiling!

C43 DM42 software image file: https://classic43.com/downloads/C43_43L2.zip
Be sure to do CLR/RESET after resetting the first time.
The C43 firmware still requires DM42 DMCP firmware 3.18 or 3.20.

My hardware testing stopped dead in its tracks the beginning of this week with my DM42 failing. SwissMicros is sending a replacement PCB, so until then, I focus my attention immediately to other issues which do not require the actual hardware, such as graphics.

Changes made:

* Refactoring my graphing software which I wrote in the December break last year. See below.

* John B's FIB implementation for Fibonacci numbers in the WP43S was imported into the C43 code. See the WP43S ReM p217. I. did some tests, see below. I could not find an issue ;-)

* I added some sample XEQM programs, i.e. XEQM10 which automates the example in the graphing demo and Fibonacci Formulas on XEQM16.


Detail Graphing stuff.
* I added options to the graphing code, to control the graph output better, i.e. have dots, and lines, and enlargement, and axes and vectors, better keyboard control, more efficient screen clears, etc. etc. etc. See a typical screen below:
.
20201019-01395900.bmp
20201019-01395900.bmp (12.31 KiB) Viewed 114 times
* The graph is now contained in a square form, allowing for some commands and info to be printed next to the graph. This example is of a series of vectors from the origin, with a small random component, increasing in Y, with their X components increasing from negative to positive.

* Some of the new graphing options, with some descriptions, including a worked example from the WP43S Operator Manual for one Mr Sweeney figuring out his bearing using a graph: https://classic43.com/downloads/2020-10 ... ngDemo.pdf


Detail FIB test.
* For interest, I show how I did some tests to check the FIB function from 43S:

My Fibonacci test script on XEQM16 takes the X register and stores it in R01, then calculates the Fibonacci number for various formulas.
The example below does it on 8.555, a Real type in the C43, and therefore certain differences will be expected. I found this article very interesting and got some formulas from there.

The reference or one reference, probably is Wolfram alpha, spitting out for FIB(8.555) = 27.442526433219585160831036510696478005694818559110360647153425236...

The first formula is defined for a member of Z, integers, and therefore the answer for 8.555, a member of R, is not expected to be correct:

Code: Select all

 PHI RCL 01 Y^X PHI RCL 01 CHS Y^X - 5 SQRT / // FOR INTEGERS Z 
The answer is in register B = 27.43398507229407705060796018234520

Code: Select all

 PHI RCL 01 Y^X RCL 01 PI * COS PHI RCL 01 CHS Y^X * - 5 EXIT SQRT /  // FOR REALS R 

The answer is in register A = 27.44252643321958516083103651069646 and is expected to be correct

Code: Select all

 PHI RCL 01 Y^X PHI RCL 01 CHS Y^X 1 CHS SQRT PI * RCL 01 * E^X 1 CHS SQRT PI * RCL 01 CHS * E^X + 2 / * - 5 SQRT / // FOR COMPLEX C 

The answer is in register T = 27.44252643321958516083103651069646 - ix0E-36 and is also expected to be correct, as the complex part of 8.555 is zero.
Thanks Bruno for sorting out the formula for me!

Code: Select all

 RCL 01 FIB 
This is the new WP43S FIB command inherited to C43 as well.
The answer is in register Z = 27.44252643321958516083103651069648

Code: Select all

 1 EXIT 5 SQRT + RCL 01 Y^X  1 EXIT 5 SQRT - RCL 01 Y^X -  2 EXIT RCL 01 Y^X 5 EXIT SQRT * / //FOR INTEGERS 
This function is from BINETS CLOSED FORM, FOR N=0-INF of Integer type and therefore is expected to be incorrect.
The answer is in register Y = 27.44252643321958516083103651069646 - ix0.007179763949684256475209563938639281

Code: Select all

 PHI RCL 01 Y^X   PHI CHS RCL 01 CHS Y^X   - "5" SQRT /  //FOR INTEGERS 
This function is from BINETS CLOSED FORM, FOR N=0-INF of Integer type and therefore is expected to be incorrect.
The answer is in register X = 27.44252643321958516083103651069646 + ix0.007179763949684256475209563938639298

It is clear that the C43 (and WP43S) internal implementation of FIB is more accurate than the formulas that I composed in RPN. The reason for that is that the internal formula makes use of the 39 digit internal accuracy and passes results back to the user in 34 digits, and RPN functions work in 34 digits only, hence have cumulative rounding errors visible in the last digits.


*note:
edited for typos
edited for shape description: rectangular replaced with square
edited sentence
Last edited by Jaymos on Mon Oct 19, 2020 9:47 am, edited 2 times in total.
Jaco Mostert
Elec Eng, South Africa
WP34C, HP42S, DM42 for complex math; 35S, 28C, 32Sii, WP34S, EL-506P, EL-W506, PB700; owned FX702P & 11C; used 67 & 85. iOS: 42s (Byron), Free42, WP31S/34S, HCalc.
WP43C running on DM42 sn. 03818 .

User avatar
Walter
Posts: 1606
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

Re: 43S Alternative key layout --> WP43C

Post by Walter » Mon Oct 19, 2020 8:58 am

Just one small correction for sake of clarity: "The graph is now contained in a quadratic form, ..." (cf. the WP43S Reference Manual, p. B-20).
DM42 SN: 00041 Beta
WP 43S running on this device

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

User avatar
Jaymos
Posts: 623
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos » Mon Oct 19, 2020 10:05 am

Walter wrote:
Mon Oct 19, 2020 8:58 am
Just one small correction for sake of clarity: "The graph is now contained in a quadratic form, ..." (cf. the WP43S Reference Manual, p. B-20).
Maybe I referred to the 242x240 pixel box as 'rectangular', maybe it was just poor word choice after midnight, but either way I should have referred to the inside space available to the graph which is 240x240, so I changed it to 'square', as I do not like describing that shape as being 'quadratic'. Tx.
Jaco Mostert
Elec Eng, South Africa
WP34C, HP42S, DM42 for complex math; 35S, 28C, 32Sii, WP34S, EL-506P, EL-W506, PB700; owned FX702P & 11C; used 67 & 85. iOS: 42s (Byron), Free42, WP31S/34S, HCalc.
WP43C running on DM42 sn. 03818 .

bruno_h
Posts: 1
Joined: Wed Sep 30, 2020 1:26 am
Location: Paris, France

Re: 43S Alternative key layout --> WP43C

Post by bruno_h » Mon Oct 19, 2020 6:39 pm

Thanks for the release!

BTW, a little bug, perhaps already identified: when you press CATALOG and then MENUS the calculator is frozen after a warning that it is a bug. A reset is necessary.

Post Reply