Question
Reply
 
Highlighted
Honor Student
Posts: 3
Member Since: ‎11-07-2013
Message 1 of 5 (3,816 Views)

HP50g converting from rectangular to polar

Hi guys, how do I convert from rectangular to polar form? Say I type in -(i8 -6), I want to convert this to polar? And please don't tell me to switch my mode, I've tried that. I am in polar form mode right now.

Reply
0
Professor
Posts: 2,205
Member Since: ‎02-17-2015
Message 2 of 5 (3,786 Views)

Re: HP50g converting from rectangular to polar

Hi!, jcfor3ever:

 

Welcome, to Forum!.

 

For convert rectangular to polar, you must ...

1) Configure FLAGS.

 

01 Principal value

03 Function -> symb

128 Cmplx var allowed

 

2) Now, see the images ...

Rect_1.JPGRect_2.JPG

 

 

 Press EVAL key ... Rect_3.JPG

HP, Obsession Reinvention !.

Step by Step, to Future !.

Rate whom you dedicated your time. It's something that never recovered.


Master's Graduate
Posts: 299
Member Since: ‎01-08-2009
Message 3 of 5 (3,769 Views)

Re: HP50g converting from rectangular to polar

The best way to deal with rect, polar, sphere coordinates on the 50g is to use vectors rather then complex numbers in my experience. Instead of doing 3+5i or whatever, do [3 5]. There is then a menu you can use to quickly switch display format. Note that internally they are ALWAYS (both complex and a 2 or 3 item vector) stored in rectangular mode and so you must do a mode togggle to change the look. The setting that needs toggling is "coordinate system".

 

Anyway, assuming you are using soft menus and not choose menus, this is very quick and easy. Press MTH->Vectr. Once in this menu, the ->V can build a vector, and V2-> and V3-> can explode them. Pressing NXT will put you on a page with easy toggles between the 3 formats.

----------------------
TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
Tutor
Posts: 10
Member Since: ‎01-13-2012
Message 4 of 5 (3,731 Views)

Re: HP50g converting from rectangular to polar

Here's a couple of short user-RPL programs which use some of the functions Tim mentioned, in order to convert between polar/spherical and rectangular (they work with 2 and 3 dimensions).

 

One important thing to observe with these, is that using R->P converts the values to what a polar representation would have shown, but does so in a rectangular vector!  So, interpreted as a geometric vector, it is no longer the same vector!

 

The reason I do it like this, are several: I want to be able to quickly peek what coordinates would be in the other representation, without changing from rectangular vector mode. And I use these not only as geometric vectors, but also as objects or parts of objects, holding a sequence of reals, in the context of other custom functions, matrices and equation systems. And this system of custom functions goes back all the way to my HP28S, which I think had R->P and P->R functions.

 

<<  ->  v

<<  -16.  FS?

IF

THEN v 1800.  .1 BEEP "In RECT mode only"

ELSE v SIZE OBJ->  DROP DUP

CASE 3.  ==

THEN DROP v V->   -16.  SF  -15.  SF  ->V3  -15.  CF  -16.  CF

END 2. ==

THEN v V->   -16. SF  -15. SF  ->V2  -15.  CF -16.  CF

END v 1800.  .1 BEEP "Invalid Dimension!"

END

END

>>

>>

 

'[P->R]'

STO

 

 

<<  ->  v

<< -16.  FS?

IF

THEN v 1800.  .1 BEEP "In RECT mode only"

ELSE v SIZE OBJ->  DROP DUP

CASE 3.  ==

THEN DROP  -16.  SF  -15.  SF v  V->   -15.  CF  -16  CF  ->V3

END 2. ==

THEN  -16.  SF  -15.  SF v V->   -15.  CF  -16.  CF   ->V2

END v 1800.   .1 BEEP  "Invalid Dimension!"

END

END

>>

>>

 

'[R->P]'

STO

 

Student
Posts: 1
Member Since: ‎08-11-2016
Message 5 of 5 (544 Views)

Re: HP50g converting from rectangular to polar

I'm new to the 50g.

 

I found your comment "The best way to deal with rect, polar, sphere coordinates on the 50g is to use vectors rather then complex numbers in my experience. " to be very useful.

 

Thank you!!!

John

 

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation