Re: hp35s vs. hp33s - polar to rectangular (982 Views)
Reply
Occasional Visitor
Benjamin Earl Orpilla
Posts: 1
Registered: ‎07-22-2008
Message 1 of 2 (982 Views)

hp35s vs. hp33s - polar to rectangular

Hi,

I'm a newbie at programming HP calculators. I'm trying to make a program to convert coordinate pairs to azimuth and distance. I found a program but is for HP33s. Part of the program is a rectangular to polar conversion which is still in the old model.

Has anyone have any workaround on how I can programmatically convert to polar(the old ->θ,r button before)

Thank you!

Benjie
Occasional Contributor
Didier Lachieze
Posts: 2
Registered: ‎07-31-2008
Message 2 of 2 (982 Views)

Re: hp35s vs. hp33s - polar to rectangular

Hello Benjie,

Here is two hp35s programs to convert from rectangular to polar and from polar to rectangular coming from this thread on the hpmuseum site: http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv017.cgi?read=120609

P001 LBL P
P002 FS? 10
P003 GTO P011
P004* Rv
P005 Rv
P006 eqn REGZ+i*REGT
P007 ARG
P008 LASTx
P009 ABS
P010 RTN
P011* CF 10
P012 XEQ P004
P013 SF 10
P014 RTN

R001 LBL R
R002 FS? 10
R003 GTO R012
R004* Rv
R005 Rv
R006 eqn
R007*
R008 x<>y
R009 *
R010 EQN LASTx*
R011 RTN
R012* CF 10
R013 XEQ R004
R014 SF 10
R015 RTN

where:
R^ is roll up
Rv is roll down
eqn marks the beginning of an equation and shouldn't be entered.

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.