HP 35s Polar to Rectangler in Program mode



#10

I recently read an the message by Howard Boardman on Rectangular to polar. I tried the program. Just what I am lookin for.
Does any one have s simple program mode routine to convert from Polar to Rectangler.

I have been working on converting my 41cx Survey program to work on the 35s. Just need a little help.
Thanks


#11

Here are the two routines we came up with months ago to do the conversions. Stack remains (otherwise) untouched and settings independent.

- Pauli

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


#12

Sometime ago Reth posted a couple of somewhat shorter programs:

P001 LBL P
P002 x<>y
P003 STO R
P004 Rv
P005 i
P006 RCL x R
P007 +
P008 ARG
P009 LST x
P010 ABS
P011 RTN

R001 LBL R
R002 STO R
R003 Rv
R004 SIN
R005 LST x
R006 COS
R007 RCL x R
R008 x<>y
R009 RCL x R
R010 x<>y
R011 RTN

tm

#13

I have a few employees want to sit for the NCEES Surveyor in training and others going for the CST testing. The 35s was just approved in October 07. The 35s is a better choice over the 33s

Thanks

#14

I've been using the following subroutines in my programs and they seem to work perfect:

For R -> P

LBL S

x<>y

i

x

+

ARG

LASTx

ABS

RTN

For P -> R

x<>y

COS

x<>y

LASTx

SIN

x<>y

x

x<>y

LASTx

x

RTN

I didn't come up with these but they work perfectly. I still as of yet do not understand the complex number stuff with the 35s. I'm mainly doing surveying programs and if it ain't broke don't fix it!


#15

Howard

Close but no cigar. Your R>P program (I did not check out P>R) does not give the same results of Reth's program. His routine gives the same results as the HP-32ii which has the conversions available on on the keyboard.

tm


#16

Trent I get the same result as the 33s. All my programs with the subroutine work the same in the 35s as the 33s. Please provide an example to show me.


#17

Will do in the next few days.

tm

#18

Howard-

Re Rectangler to Polar (or the old ->P)

I finally found the problem. Your program works just fine. The trouble I was having with your algorithm in my programs is in the stack. The HP calcs that have the simple conversion key and Reth's routine for the 35S don't lose the data in both the Z and T registers after data entry in the X and Y. I did't look into the ->R program.

tm


Possibly Related Threads...
Thread Author Replies Views Last Post
  Integration question and "RPN" mode comment Craig Thomas 16 2,491 12-05-2013, 02:32 AM
Last Post: Nick_S
  HP 35s polar/rectangular conversion CD Dodds 6 982 11-28-2013, 02:39 PM
Last Post: Dieter
  HP Prime: Recommendation for future RPN Program Mode BruceTTT 3 744 11-13-2013, 10:03 PM
Last Post: BruceTTT
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 1,014 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  Rectangular to Polar, Polar to Rectangular – One more time Jeff O. 0 430 11-06-2013, 11:32 AM
Last Post: Jeff O.
  More programs for polar-rectangular conversion on HP Prime Michael de Estrada 4 864 11-04-2013, 12:43 AM
Last Post: Michael de Estrada
  Program to change entry mode on Prime Michael de Estrada 3 737 10-28-2013, 10:13 AM
Last Post: Han
  Prime: Exam mode (possible duplicate after funny response first time) Paul Townsend (UK) 1 557 10-24-2013, 03:09 PM
Last Post: Tim Wessman
  Does RPN entry mode cause the Prime keyboard to lock up ? Michael de Estrada 14 1,832 10-22-2013, 06:27 PM
Last Post: John Colvin
  HP Prime: Edit integer in RPN mode plivesey 15 1,816 10-18-2013, 04:34 PM
Last Post: kris223

Forum Jump: