-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Tablets and Mobile Devices Archive
- HP 50g Quick input of complex numbers

Create an account on the HP Community to personalize your profile and ask a question

09-16-2014 01:24 PM
I'm trying to find a way to quickly put complex numbers in the stack, either in a (x,y) format, this being an abbreviation for X+Yi, or a (x,<y) format, this being an absolute and argument format.
So far I've managed to create a custom menu with the functions R->C, RECT, and CYLIN
R->C lets meput my first two numbers in the stack in (x,y) form, which is lovely, and with RECT and CYLIN I can quickly switch between how it's displayed on screen, so I can see either real+imaginary or abs+argument
But I haven't been able to find a way to input a complex number in argument form like I do the other way. That is, I want to put my first to numbers x and y of the stack into a single number (x,<y).
If I want to do that I have to open brackets, place x, then a comma, then the angle (alpha rshift 6) and then y.
Is there a function that'll do this?
10-30-2014 05:04 AM
"If I want to do that I have to open brackets, place x, then a comma, then the angle (alpha rshift 6) and then y."
Hi there is no need of comma (in RPL)
open brackets, place x, then then the angle (alpha rshift 6) and then y.
"Is there a function that'll do this?"
No for what I know. You can easily create a program for this with 2 argument in input (abs and argument) and then calculate the real and imaginary part and display this with CYLIN :
« DUP2 COS * UNROT SIN * R->C CYLIN »
in degree :
100 20 MyPgm
you get : (100, \</ 20) \>/ is the angle symbol
11-02-2014 07:50 AM
Hello,
The function you seek is ->V2 (to 2 dimentional vector). It's located in the "VECTR" tab of the "MTH" menu. It will return the contents of stack levels 1 and 2 as the augument and absolute value, respectively, of a polar complex number. Note that the calcualtor must be in POLAR mode for this to work. While in POLAR mode, you can also put your rectangular coordinates in the stack and use R>C, and the resultant complex number will display in polar form.
One last thing...be sure flag 19 is checked, so the calc treats a 2d vector as a complex number.
Best regards, Hal
11-03-2014 01:26 AM
hi, can be very instructive to read Complex Numbers Marathon --> http://www.hpcalc.org/details.php?id=5114
best regards
Simone
