## 43S Alternative key layout --> WP43C

### Re: 43S Alternative key layout --> WP43C

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

Thanks !

Thanks !

### Re: 43S Alternative key layout --> WP43C

Ohhhh. I missed the actual number!!

Next time 43!

Next time 43!

Jaco Mostert

Elec Eng, South Africa

Elec Eng, South Africa

**C43 (WP34C) on DM42 sn. 03818 & 06199**for complex math, HP42S; HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; owned FX702P & 11C; used HP67 & HP85; iOS:**42s Byron**, Free42, WP31S/34S, HCalc.### Re: 43S Alternative key layout --> WP43C

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
+
+
```

Jaco Mostert

Elec Eng, South Africa

Elec Eng, South Africa

**C43 (WP34C) on DM42 sn. 03818 & 06199**for complex math, HP42S; HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; owned FX702P & 11C; used HP67 & HP85; iOS:**42s Byron**, Free42, WP31S/34S, HCalc.### Re: 43S Alternative key layout --> WP43C

Let me guess: WP43S Owner's Manual, p. 137f.

DM42 SN: 00041 Beta

WP 43S running on this device

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

WP 43S running on this device

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

### Re: 43S Alternative key layout --> WP43C

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"
```

Code: Select all

```
R20 = "842468587426513207"
R19 = "2646693125139304345"
R18 = "37 digits of pi, Reg19 / Reg20."
```

Code: Select all

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

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

Elec Eng, South Africa

**C43 (WP34C) on DM42 sn. 03818 & 06199**for complex math, HP42S; HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; owned FX702P & 11C; used HP67 & HP85; iOS:**42s Byron**, Free42, WP31S/34S, HCalc.### Re: 43S Alternative key layout --> WP43C

And we have the answer to the meaning of life, the universe, and everything !Jaymos wrote: ↑Wed Oct 14, 2020 11:43 pm

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

Yes it has the 3 integers to be cubed in registers 15,16 & 17.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 + +`

Numbers shall always marvel me...

### Re: 43S Alternative key layout --> WP43C

**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:

. * 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 `

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 `

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 `

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 `

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.

Elec Eng, South Africa

**C43 (WP34C) on DM42 sn. 03818 & 06199**for complex math, HP42S; HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; owned FX702P & 11C; used HP67 & HP85; iOS:

**42s Byron**, Free42, WP31S/34S, HCalc.

### Re: 43S Alternative key layout --> WP43C

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-35S, WP 34S, WP 31S, DM16L

WP 43S running on this device

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

### Re: 43S Alternative key layout --> WP43C

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.

Elec Eng, South Africa

**C43 (WP34C) on DM42 sn. 03818 & 06199**for complex math, HP42S; HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; owned FX702P & 11C; used HP67 & HP85; iOS:

**42s Byron**, Free42, WP31S/34S, HCalc.

### Re: 43S Alternative key layout --> WP43C

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.

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.