42 Complex Menu
|
05-30-2018, 02:37 PM
(This post was last modified: 05-30-2018 02:40 PM by Logan.)
Post: #1
|
|||
|
|||
42 Complex Menu
I'm working on a very simple complex menu for the DM42/HP42 and would like some feedback, if anyone is willing.
The menu keys, similar to the suggestion found in another thread are: i /_ ABS ARG Conj Cmplx The idea is straightforward: hitting the i, changes display mode to rectangular, /_ changes to polar, ABS takes the magnitude, ARG takes the argument, Conj gives the complex conjugate, and Cmplx operates just like the COMPLEX key, to compose or decompose a complex number. My current method of entry for say, 4 + i5 is: 4 i 5 Cmplx Note that the menu keys are used and the result is that I see 4 + i5 displayed (automatically switching mode for verification). The one function I'm really not sure about is the ARG. Everything else except Conj leaves the stack and LastX as is but I don't know of a built-in way to get the argument (like the ABS gets the magnitude but leaves the stack intact). Any thoughts on this, on the layout, or other functions that might be useful? I've uploaded the program to my drive here: https://drive.google.com/open?id=17tz7uN...7KKIwit3ua |
|||
05-30-2018, 03:14 PM
Post: #2
|
|||
|
|||
RE: 42 Complex Menu
How about:
Code: 00 { 25-Byte Prgm } It loses the contents of T but otherwise does the job. It could also be improved by checking that X is complex first. |
|||
05-31-2018, 12:44 PM
Post: #3
|
|||
|
|||
RE: 42 Complex Menu
Thanks Thomas.
|
|||
12-07-2018, 03:31 PM
Post: #4
|
|||
|
|||
RE: 42 Complex Menu
10C 11C 12C 15C 16C 28C 28S 32S 32SII 33C 41C 41CV 41CX 42S 48SX 48G 97 100LX |
|||
12-17-2018, 04:20 PM
Post: #5
|
|||
|
|||
RE: 42 Complex Menu
Thank you, that's a nice program.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)