The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
42 Complex Menu - Logan - 05-30-2018 02:37 PM
RE: 42 Complex Menu - Thomas Okken - 05-30-2018, 03:14 PM
RE: 42 Complex Menu - Logan - 05-31-2018, 12:44 PM
RE: 42 Complex Menu - morex - 12-07-2018, 03:31 PM
RE: 42 Complex Menu - Logan - 12-17-2018, 04:20 PM



User(s) browsing this thread: 2 Guest(s)