Section 3: Simple Programming; What Is A Program; Why Write Programs; Keycodes - HP -33E Owner's Handbook Manual

Table of Contents

Advertisement

Section 3
Simple Programming
What Is a Program?
A program
is
nothing more than
a
se
ries
of calculalOf
keystrokes that
you
would
pre
ss
to
solve
a problem manually
.
The
HP-33
E remembers
these keystrokes
when
you
key them in, then
executes
them in order
whenever you wish. No
prior programming
experience
is
necessary for
programming your
HP-33E.
Why Write Programs?
Programs
can
save
you
time
on
repetitive
calculations.
Once
you
have
wrillen the key
strokes
procedure for solving
a
particular problem
and
recorded it in the calculator
,
you
no longer need to devote attention to
individuaJ key
strokes
that make up the procedure
.
You
can
let the
calculator
solve
each
problem for you. You saw
this
earlier when we
computed
the surface
area
of the moons of Jupiter.
And because
you
can easily check
the procedure in your program
,
you
have
more
confidence
in your final
answer
since
you
don
'
t have to
worry
each time
about
whether
or
not
you
have pressed an incorrect key.
Keycodes
Set the PRGM -RUN switch
PRGM
umm.
RIJN
to PRGM
.
Press the first
keys
CD
CU:"\RIPRGMIOO~
of
the
surface
area
of
a sphere
prog
ram
(refer
to
page
J
4) and
the
display will change to:
01-
15
0
The two-number
code
D1-
that
has
appeared on
the left side
of
the di splay
designates the line number of progmm memory that
is being
di splayed.
The first digit
denotes
the
row of
the
key.
The second digit
denotes
the
number
of
the
key
in
that row
. Thus,
the
keycode
15
represents the
key
in the
first row on
the
ca
lculator
and
the
fifth
key
in
that row
:
the
rn
key.
30
~
~
i!=
e;::
(!!;::
e;:
(!!;::
i!!=
~
e=
~
e=
~
~
~
g:
E=
E=
e;:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-33c

Table of Contents