C43 progress update:

.

I updated C43 to the latest WP43S code base. Here the progress update:

https://classic43.com/downloads/2021-11 ... 107_01.ZIP. The WP43S code is in between releases, so this is what it is, a progress compile.

You can play with the latest equation editor and solvers. WP43S added the equation editor, but there are some design decisions I must still make, based on feedback. The 43S solver works. The issue on lower case or upper case characters for the function names are still to be considered. Currently 43S has sin cos and tan. C43 keys are based on the DM42, which has caps, i.e. SIN COS and TAN. Additionally, I find the typing and changing between numeric/greek/upper case and lower case restrictive. The complete C43 keyboard already works way different from the 43S keyboard, but I do not think it is smooth enough yet.

My latest thinking is that the greek letters (which are all on a softmenu) are in the way on the keyboard. I have already removed the greek letters from the template long ago to remove the keyboard clutter, but left the keys active as hidden shortcuts. But that seems in the way now. There are three sets on the keys, i.e. numeric, caps, lower case, and three shift modes, unshifted, f and g, and two sets of locks: caps on/off, num/on off. You can guess where I am going: as simple as possible but no simpler.

I think the system needs remain more or less as it is now, but with the greek key shifts removed altogether, typing in alpha and equation editor modes may be smoother. The capslock/numlock indicator would remain as is, sans the greek symbol on the indicator.

Some other things are incomplete, such as the catalogue, which I added to the equation entry menu tonight. It will work well, but needs a lot of tweaking first. Rather not use it, it is incomplete in the equation mode. But it is a progress release. I had to trim the DM42 releases a lot to fit into the memory, which is getting fuller and fuller ... Removed for now are: USER keys, test registers 10-20, STAT demos, flag, register and font browsers, Standard extra 43S math: SLVQ, PRIME, BESSEL, ELLIPTIC, ZETA, BETA, ORTHO_POLY. All culled functions are compiled into the Windows version though.

Some notes on the equations and solvers:

1. Type in the formula (with or without the "0 =") like SIN (xx) + SIN (xx^2).

1a. Help with the typing: "SIN f F3 f X f X f F4" first term done. Now "f + SIN f F3 f X f X F3 g 2 f FN4 ENTER"

- Clipboard01.png (2.94 KiB) Viewed 2166 times

2. The functions are as per the keyboard, that is on C43 trig is written SIN, hence it is in caps. On 43S it is lower case.

3. Use "xx" as a variable, because my draft solver and plot program expects the variable as xx. That can still change.

4. Once the formula is typed, press ENTER. press "Solver" for the 43S solver.

5. Type in two guesses, say "1.2 [xx] 1.8 [xx]" then press [xx] again. The solver will produce the first real root it finds.

6. Press EXIT.

7. Now try the plotting. Press "[3] CHS ENTER [12] [xxPLT]". The numbers are the left and right x-axis range (-3 to 12) needed for the plot.

- 20211114-22233600.bmp (12.31 KiB) Viewed 2166 times

8. EXIT will leave you in the C43 plot menu with many graph options. Another EXIT to return to the solver.

9. Try my prototype C43 solver for real/complex roots. Press "[6] [xxSLV]" where 6 is the guess. This function has plenty roots, as can be seen in the graph. I am leaving it in to compare with the 43S solver, but the 43S solver will probably end up a lot faster, sleaker and more efficient than mine, so mine will probably be retired after comparisons have been done.

Another example formula using my solver: I do like the text though. The text is actually strings on the stack, and not a fleeting message which disappears after you press something. Note top right, it quotes the guess provided, i.e. Xo=-1 in this case.

- Clipboard02.png (4.46 KiB) Viewed 2166 times

In this example I gave the guess at -1, as I saw on the graph that at about -1 there is a local maximum, hence I gave the guess there. The result was the closest complex root at -1.3-i0.42.