beautypg.com

HP 33s User Manual

Page 225

background image

Mathematics

Programs

15–3

Program Listing:

Program Lines:

(In ALG mode)

Description

Defines the beginning of the rectangular input/display
routine.

"! %

Displays or accepts input of X.

"! &

Displays or accepts input of Y.

"! '

Displays or accepts input of Z.

Checksum and length: 8E7D 12

Defines beginning of rectangular–to–polar conversion
process.

&

º65¸

%

¸8º´

θ8T

Calculates

)

Y

X

(

2

2

+

and arctan(Y/X).

º65¸

! !

Saves T = arctan(Y/X).

'

¸8º´

θ8T

Calculates

)

Z

Y

X

(

2

2

2

+

+

and P.

!

Saves R.

º65¸

!

Saves P

Checksum and length: E230 36

Defines the beginning of the polar input/display
routine.

"!

Displays or accepts input of R.

"! !

Displays or accepts input of T.

"!

Displays or accepts input of P.

º65¸

θ8T´¸8º

Calculates R cos(P) and R sin(P).