Program Listing:
Program Lines:
(In ALG mode)
Checksum and length: 8E7D 12
Checksum and length: E230 36
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 .
Defines beginning of rectangular–to–polar conversion
process.
X (
2
Calculates
Saves T = arctan( Y / X ).
X (
2
Calculates
Saves R .
Saves P
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 ).
Description
Y
)
2
and arctan( Y / X ).
Y
Z
)
2
2
and P .
Mathematics Programs
15–3