HP 9100B Operating & Programming Manual page 112

Hide thumbs Also See for 9100B:
Table of Contents

Advertisement

102
PROGRAMMING THE 91008
STEP SAVING
To calculate the square root of the sum of two squares
( ~
A2
+
8
2
):
KEY
Enter
A
( )
t
Enter
8
( )
TO POLA
R
~
A
2
+
8
2
appears in the X
register.
As TO POLAR is the
operation which converts reetangular coordinates to polar Co-
ordinates,
the angle (9) 1n either degrees or radians, appears in
the Y register.
To conditionally add or subtract (multiply or divide):
I
NO
(+)
STEP
KEY
61
.
-
. .
62
IF
x:y
63
Ace+
(or)
X
64
Ace+
(or)
X
65
ACC - (
Or) -:-
YES
+
(x)
if x
==
y,
steps 63 through 65 result in a net addition (multipli·
cation)
;
tf x
f:.
y steps 63 and 64 are skipped and the subtraction
(d ivision) is
executed.
The plus (
+
) and ( ) signs cannot be used as they constitute
the start of a branching
address.
I
j
~
'

Advertisement

Table of Contents
loading

Table of Contents