Post Reply 
Common User Keys setup and why?
01-16-2014, 06:18 PM (This post was last modified: 01-17-2014 01:06 PM by Jeff O..)
Post: #4
RE: Common User Keys setup and why?
(01-12-2014 08:27 PM)CR Haeger Wrote:  Please share a few of the User Keys you have setup (and reason).

Here are the ones I set up:
Code:

//Routines for complex number assembly/
//disassembly from/to reals on stack-1 
//and stack-2, polar to rectangular and
//rectangular to polar conversions on 
//reals in stack-1 and stack-2.

//stack-1 holds real or magnitude
//stack-2 holds imaginary or angle

//Real rectangular to complex - User 4
//Real polar to complex - User 7
//Complex to real rectangular - User 5
//Complex to real polar - User 8
//Real rectangular to real polar -User 6
//Real polar to real rectangular -User 9
//Conjugate of Complex value - User 2

//Complex to real rectangular
KEY K_5()
BEGIN
  "'Z1'▶ IM Z1 RE"
END;

//Complex to real polar
KEY K_8()
BEGIN
  "'Z1'▶ ARG Z1 ABS"
END;

//Real rectangular to complex
KEY K_4()
BEGIN
  "i * + i / CONJ"
END;

//Real polar to complex
KEY K_7()
BEGIN
  "'X'▶ X - + 'Y' ▶ SIN X *
  i * Y COS X * +"
END;

//Real rectangular to real polar
KEY K_6()
BEGIN
  "i * + i / CONJ 'Z1' ▶ ARG Z1 ABS"
END;

//Real polar to real rectangular
KEY K_9()
BEGIN
  " 'X' ▶ X - + 'Y' ▶ SIN X * Y COS X *"
END;

//Conjugate
KEY K_2()
BEGIN
  "CONJ"
END;

All of the above are for use in HOME in RPN mode. In each case, you must press ENTER to complete the operation.

If you cut and paste the above code, wherever the lower case i appears, it would need to be replaced with the italicized "i" character from the Prime keyboard (shift-2). (I tried to make it appear that way, but it appears that I am just not clever enough to figure out how to do so, so I gave up.)

As for the reason for the shortcuts, I suppose it would be stubborn clinging to the past Smile

Dave - My mind is going - I can feel it.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Common User Keys setup and why? - pvrs - 01-17-2014, 03:47 PM
RE: Common User Keys setup and why? - Jeff O. - 01-16-2014 06:18 PM
RE: Common User Keys setup and why? - Han - 01-17-2014, 04:33 PM
RE: Common User Keys setup and why? - pvrs - 01-17-2014, 08:25 PM



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