EasyManua.ls Logo

HP HP-67 - Page 177

HP HP-67
364 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Interrupting
Your
Program
173
Example:
Arthur
Dimsdale
is
solely
responsible
for
the
night
shift
at
Tintoretto
Tins,
a
canning
company.
For
each
of
several
sizes
of
cylindrically-shaped
cans,
Dimsdale
knows
only
the
radius
r
and
the
height
&
of
each
size
of
can,
and
the
number
of cans
of
each
size.
He
needs
to
first
calculate
the
area
of
the
base
and
display
it
long
enough
to
set
a
dial
on
his
production
line
(a
1-second
display
will
do).
Then
he
needs
to
know
the
volume
of
the
can
long
enough
to
write
it
down
(this
should
take
him
about
5
seconds),
and
finally
he
needs
to
know
the
total
volume
of
all
cans
of
that
size.
Solution:
The
program
below
first
calculates
the
area
4
of
the
base
by
the
formula
A =
7rr2,
and
uses
a((PAUSE]
to
display
the
area
for
about
1
second.
Then
the
program
calculates
the
volume
V
of
a
single
can
according
to
the
formulaV
=4
X
h,
and
uses
an(o]
pause
to
display
the
volume
long
enough
for
Dimsdale
to
write
it
down.
Finally,
the
program
multiplies
the
number
of cans
(n)
times
the
volume
of
each
can
to
compute
the
total
volume
of
all
cans
of
that
size.
The
program
assumes
that
the
number
of
cans
(n)
has
been
entered
to
the
Z-register
of
the
stack,
that
the
height
4
of
the
can
has
been
entered
to
the
Y-register,
and
that
the
radius
has
been
placed
in
the
displayed
X-register.
To
load
the
program
into
the
calculator:
Slide
the
Program
Mode
switch
weram
[l
run
to
W/PRGM.
Press
Display
2
0En
a
Q
003 35
73]}
Calculates
A
=
7r2.
o
005 35
72|
Displays
A
for
about
1
second.
a
006
71|
CalculatesV
=
A
X
h.
0@
Cx-
Displays
V
of
one
can
for
about
5
seconds.
8
Calculates
total
volume.
O
rN
009
35
22|
Stops
and
displays
total
volume.

Table of Contents

Other manuals for HP HP-67

Related product manuals