HP -33E Owner's Handbook Manual page 42

Table of Contents

Advertisement

38
Simple Programming
Keystrokes
Display
25
1""",.
1
25.0000
Enter
the
height
into
the
V-register.
10
1
"' S
1
314.1593
Program
SlOpS
to
di
splay
the
area.
~
7,853.9816
Volume of
first
ca
n
is
calculated
.
8 1
""",.1
8.0000
Enter
the height into
the
Y
-register
.
4.5
1
"'S
1
63.6173
Program
stops
to
display the
area.
I
RIS
I
508.9380
Second
volume
is
calculated.
With the
heigh
t in the
V-registe
r
and the radius in
the
X.register,
pressing
IRISI
in automatic
RUN
mode
calculates the
area of the can's base;
the program
stops
al
the
first
I
RIS
I
instruction encountered. Pressing
I
R'S
I
again
calc ulates
the
volume of
the
can and
program
execution
stops
at
line 00.
In
ge
neral,
you
should
record
I
RIS
I
into
a program when you need
to
di splay
more
than
one answer.
To
display
ollly Olle
answer of the fina
l
answer of a series,
the IGTol
00 instruction in a program is more
convenien
t
since
the
calculator end
s
execution at line 00. ready
to
begin
again.
Pausing During Program Execution
An
IT!
I
PAUS£
I
instruct
ion
executed
in
a program
interrupts
program
execution
to
display
results
momentarily
before execution
is
resumed.
The
length
of
the pause
is
about
o
ne
second, but you
can
use mo
re than
one
consecuti
ve
CD
I
PAUS£
I
instruction
to leng
then
the
time.
To
see
how
CD
I
PAUSE
I
can
be
used
in a program
,
we'll
modify the
cylinder volume program
in the
previous
example.
In
the
new
prog
ram
the area of
the base
will be briefly
displayed
before
the
volume is
calculated
.
This example will also
show how
different
programming
approaches
can
be
taken to
solve
the same
problem.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-33c

Table of Contents