HP 35s - Problem with conversion from polar to rectangular coordinates.



#2

Hi Guys,

I am a surveyor and I got a brand new HP 35s. The problem is in the conversion from polar to rectangular coordinates.
Thanks for those two examples but I¡¯m not able to implement them into these two surveyor programs. Can you help me with this?

Thank you in advance.

Regards,

Samir

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 [REGZ*SIN(REGT),REGZ*COS(REGT)]

R007 [1,0]

R008 x<>y

R009 *

R010 EQN LASTx*[0,1]

R011 RTN

R012* CF 10

R013 XEQ R004

R014 SF 10

R015 RTN

_______________


1.

LBL J

FIX 2

INPUT X

INPUT Y

LBL C

FIX 2

INPUT N

INPUT E

XEQ R

STOP

1

x=y?

GTO C

RCL N

STO X

RCL E

STO Y

GTO C

LBL R

RCL N

RCL X

-

RCL E

RCL Y

-

y,x¡ú¦È,r ???????????

x<>y

90

x<>y

-

x¡Ý0?

GTO D

360

+

LBL D

¡úHMS

FIX 4

STOP

R¡ý

FIX 3

RTN

______________

2.

LBL P

FIX 3

INPUT X

INPUT Y

LBLE

FIX 4

INPUT B

FIX 3

INPUT D

XEQ Q

FIX 3

RCL N

STOP

RCL E

STOP

1

x=y?

GTO E

RCL N

STO X

RCL E

STO Y

GTO E

LBL Q

RCL B

¡úHR

RCL D

¦È,r ¡úy,x ??????????

RCL X

+

STO N

R¡ý

RCL Y

+

STO E

RTN


#3

x,y->O,r should be replaced by XEQ P (to Polar)
and O,r.>x,y by XEQ R (to Rectangular)


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP 35s polar/rectangular conversion CD Dodds 6 2,706 11-28-2013, 02:39 PM
Last Post: Dieter
  Rectangular to Polar, Polar to Rectangular – One more time Jeff O. 0 1,073 11-06-2013, 11:32 AM
Last Post: Jeff O.
  [WP 34s] Pressure Conversion Factors Timothy Roche 8 3,235 11-04-2013, 07:17 PM
Last Post: Dave Shaffer (Arizona)
  More programs for polar-rectangular conversion on HP Prime Michael de Estrada 4 2,026 11-04-2013, 12:43 AM
Last Post: Michael de Estrada
  OT--Hyperbolic Polar<-->Rectangular Coordinates Matt Agajanian 2 1,275 09-30-2013, 08:53 PM
Last Post: Matt Agajanian
  HP Prime: Conversion factors Paul Townsend (UK) 19 5,127 08-27-2013, 09:19 AM
Last Post: Nigel J Dowrick
  [WP 34s] Polar & Rectangular Number Display Jeff O. 9 2,882 01-12-2013, 05:08 AM
Last Post: fhub
  New Blog Entry with HP 50g: Cartesian Coordinates to Pixel (Screen) Coordinates Eddie W. Shore 0 852 09-13-2012, 10:28 PM
Last Post: Eddie W. Shore
  WP34S conversion, yet another but with a difference Geoff Quickfall 23 6,112 06-22-2012, 02:54 PM
Last Post: Marcus von Cube, Germany
  [WP-34s] Conversion proposal Alexander Oestert 19 4,887 06-15-2012, 05:36 AM
Last Post: fhub

Forum Jump: