Program Listing:

 

Program Lines:

Description

(In ALG mode)

 

  

 "! %  "! &  "! '

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º´θ8TCalculates(X2 + Y2 ) and arctan(Y/X).



º65¸

 

 

 



! !

Saves T = arctan(Y/X).



 '

 

 

 



¸8º´θ8T

Calculates

(X2 + Y2 + Z2 ) and P.



! 

Saves R.

 



º65¸

 

 

 



! 

Saves P

 

Checksum and length: E230

36

 

  

 "!   "! !  "!      º65¸    θ8T´¸8º
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.

Calculates R cos(P) and R sin(P).
Mathematics Programs 15–3