HP -80 Owner's Handbook Manual page 60

Table of Contents

Advertisement

Mixed Chain Calculation
Obviously,
chain
calculations
can use any arithmetic
operator-
add
and subtract
as
well
as
multiply
and
divide.
In
addition
,
a
problem
may
be calculated with
any
combi
nation
of
arithmetic
operators
in
both
nested and linked operations. For
example,
to calcul
ate
( ((
12
X
5
) -
2)
+
(
(8-;-.2)
+
10))
X
(213.08
X
5
-;-.
1.33)
-;-.
2
Enter:
See
Displayed:
2
-
-
- - - - - - - - -
-••
8
SAVE
+
2
-+ - - - - - - -
-••
10
+
- - - - - -
--
-_.
+ - - - - - - - - - -
-••
213.08
SAV
E+
5
x
1.33
x
-----------~.
2
Review
the
stack:
Press
See
Remarks
12
12.
12
is
keyed
into
X.
SAV
E.
12.00
12 is
load ed
into
X
a
nd
Y.
5
5.
5 is keyed and loaded
into X;
previous
contents (12) are
destroyed.
X
60 .00
Contents of
X
(5)
and Y
(12) a re
multi plied
then
con tents
are destroyed
:
result
(60)
is
loaded into X.
2
2.
2
is
keyed and loaded
into
X,
60 is loaded into Y.
-
58.00
Contents
of X
(2) a
re
subtracted
fr om
co ntents of
Y
(60)
then
contents a re destroyed
;
resu
lt
(58)
is
loaded
into
X.
8
8.
8
is
keye
d
into
X,
58 is
loaded into
Y.
SAV
E
+
8.00
8
is
loaded
into X
and
Y,
58
is
loaded
into Z.
2
2.
2
is keyed
and
loaded into X
;
pre
vious contents (8)
are
destroyed.
4.00
Contents
of Y
(8)
a re
divid
ed
by
co ntents
of X
(2) then
co ntents a re destroyed;
result (4)
is
loaded into X;
conte nts of
Z
(58) are
dropped to
Y.
58

Advertisement

Table of Contents
loading

Table of Contents