HP HP-33E User guide

HEVVLETT-PA
C
KAJUD
:
HP·33E/33C
~
OWNER'S
HANDBOOK
AND
PROGRAMMING GUIDE

About
Continuous
Memory(HP-33C
only)
If you purchased
an
Hp·33C instead
of
an HP.33E,
your
calculator
contaris
one
of
the most advanced memory systems available in a scientific calculator. Continuous
Memory means the program memory. all eight storage registers, and the display
mode
stay "
on
" 'NIlen your calculator is turned
off
. You can store both
your
favorite
program (or programs) and useful data
for
as long as you want.
Continuous
Memory
is especially convenient when
you
want
to
customize
your
calculator (e.g., if
you
use
20%
of your programs
to
solve
80%
of
yourproblems).
You
save
considerable time because
you
don
't have to
key
in
those common progra
ms
again and
again-they
are stored in
your
calculator. Continuous M
emory
redu
ces
human entry errors
too
;fewer keystrokes
mean
fBWef
chances
of
making inadvertent
""""
-
Besides saving programs, Continuous
Memory
lets you save
data
in the
HP·33C
's
eight storage registers. Constants, accumulations,
and
intennediate answers can
be
retrieved
whenever
you
need
them
.
And
because
the
display mode is al
so
saved in
Continuous
Memory
, your calculator "wakes
up
" in whatever (!i!J ,
(@
,
or
~
setting you last used.
ContinuousMemory alsohelps save battery life in
many
situations. Much
of
thetime a
calculator is switched
on
is spent
wa
iting while holding
programs
or
data
until
the
next
computation.Continuous
Memory
eliminates much
of
this unneededbattery usage
by
allowing
you
to switch off
the
calculator
when
you havea prolongedpause
or
interrup-
tion between calculations.
Note
:
Unless
otherwise indicated, "HP-33E" is used throughout this
han<t>ook
to
refer to ooth the
HP-33
E and the
HP-33C
.

=3
=3
='3
=3
~
=3
=f:!
=3
=3
=::!
=3
=3
~
=3
~
=3
=3
=3
~
HEWLETT'
PACKARD
The HP-33E/33C Programmable
Scientific Calculator
Owner's Handbook and
Programming Guide
April 1979
00033-90039
Pr
i
nted
in
U.S.A. c
Hewlett
-Packard
Company
1979

Contents
The HP-33E Programmable Scientific Calculator
Keyboard
...
. . . .
....
. . .
..
.
........
.
Function
Key
Index
.....................
.
Programming
Key
Index
Section
I:
Meet the HP-33E
Manual
Problem
Solving
.........
.
Programmed
Problem
Solving
...
....
....
...
...
.
Section
2:
Specific Features
of
the HP-33E
Self-Check
Routine
....
...
. . .
Mantissa
· .48
..
4
....
7
.12
.13
.
....
14
..
...
..
16
. . .
16
.....
..
17
Storage Registers
Number
Alteration
Keys
...
...
17
.........
...
....
18
Absolute
Value
....
Integer
Portion
of
a Number
Fractional
Portion
of
a Number
Statistical
Functions
Accumulations
Mean
Standard Deviation
Deleting
and
Correcting Data
Linear
Regression
..........
.
....
.
.
.....
18
.....
..
18
.........
...
....
18
...
..
19
....
..
19
.
..
.....
..
.
21
..
...
21
........
23
.
.....
...
.....
24
Linear Estimate
.......
. . .
..
...
26
Correlation
Coefficient
Vector
Arithmetic
Section 3: Simple Programming
What
Is
a
Program?
................
. .
Why
Write
Programs?
...............
.
.........
.
Keycodes
Introductory
Program
...........
. .
Running
a
Program
.....
. .
27
......
27
.....
30
.
..
30
.
30
..
.
....
30
.
....
.....
..
32
..
...
..
33
Writing
a Second Program ...
...
..
. . · .
33
Displaying
Each
Step . . .
...............
. .
Going
to
a Une Number
Programmed
Stops
Stopping
During
Program
Execution
.......
..
.
2
· .
35
.......
35
...
36
· .
36

::;;
~
~
::;;
~
~
~
:::;j
~
~
~
=3
~
:::;:;
,
Contents 3
Pausing
During
Progr
am
Execution
....
•
....
Program
Stops
.....
...
....
....
...
. .
Error
Stops
Flowcharts
Section
4:
Branching
Unconditional
Branching
and
Looping
Conditional
Tests
and
Conditional
Branche
s
Problems
.......................
.
Section 5: Subroutines
Routine-Subroutine Usage
........
.
Subroutine
Umits
.........
.
Section 6: Program Editing
..
...
...
.
F
inding
the
Error
Changing
One
Instruction
Adding
Instruction
s
Appendix
A:
Service and Maintenance
Appendix
B:
Error Indications
..........
.
.
........
38
.
..
40
...
..
..
40
...
41
· .
46
...........
46
.....
49
.
....
56
....
60
· .
65
· .68
.
....
...
70
...
70
........
72
.....
74
.
76
.
.....
....
84
Appendix C: Stack
Lift
and
LAST X
....
.
....
.
...
86
Appendix
D:
Continuous Memory
..........
.
.....
.
....
....
90

The HP-33E/33C Programmable
Scientific Calculator
Fold
Out
OJ
.rd
~
;d
~
~
~
~
~
~

HP-33E/33C
Programmable Scientific Calculator
".
'"
""
EU!UII
IIS
x • r
LR
I:-
III
EUlla.
~.
.co
'"
al!UI
x<)'
Sl~
GO,
""
8
83
I*l
f8
."
-.
·A
..
O
*H"'S
j;g
EH
b:B
~
i±I
'"
we
"
b9
f9
I±I
i±I
,<
lSl
X
~
B3 B
~
Program Memory Automatic Storage
Memory Stack Registers
00
T A,
01-
13 00 Z
A,
02-
13
00
Y A,
03-
13 00 Display A,
04- 13
00
X
A.
LAST X
A,
A,
A,
4a
FL
th,
wt
th'
Of
IT
lu
gc
ec
(!:
lu
bl
Of
CI
pr
II
IT
@l
C<
@
CC
di
.
re
s.
@
01
e,
di
[!i
n
P'
Ix
in
kf
Ix
' e:
ly
0
ly
' D
l,
y

Function Key Index
Function
keys
pressed from the keyboard executeindividual functions as
they
are pressed. Input numbers and answers are displayed. Except
where
otherwise indicated. each function key listed below operates from
the keyboard and as a recorded instruction in a program.
Off~ON
Number
IMANT
i
Mantissa (non-
mPressed before Manipulation
programmable).
function
key.selects
Clear
cmJ
Temporarily dis-
gold
function
print- Clears contents of plays all 10 digits of
eel
above
key
.
stack (X,
y,
Z, T). the mantissa of the
number in the
m
Pressed
before
~
Rolisdown
X-register.
function
key, selects contents
of
stack
Number
Alteration
blue
function printed for viewing in dis-
on
lower
face
of
key
. played X-register.
~
Givesab-
I
13f
'
,..,.1]
(non- @El Exchanges solute value
of
programmable) after number in displayed
QJ
,
fi
.
@,
I]§[], contents of
X- and X-register.
CEJ,
(!ID,
C!!!It
,
Y-registers of stack.
Gill
Leaves
only
@!!l,
or
@§)
@J
Clears integer portion
of
cancels that key. contents of display-
number
in displayed
Olg~
Entry
ed
X-registerto
zero
. X-register
by
!BnBltl Enters a truncating fractional
copy
of
number
Display
Control
portion.
displayed
in
X-
[FfU£:
i
Lea
ves
only
register. Used
to
'EJ
Fixed point fractional portion of
separate numbers. display. Followed
by
number
in
displayed
~
Changes sign a
number
key
. X-register
by
selects fixed point
of
mantissa or notation display. truncating integer
exponent
of
lOin
portion.
displayed X-register.
[!§)
Scientific
I!ID
Enter ex- display. Followed by
Manual
Storage
a
number
key
.
lli2J
Store. FollOW-
ponent. After press- selects scientific
ing. next numbers notation display. ed
by
number
key,
keyed
in
are stores displayed
exponents
of
10.
@
Engineering
number
in storage
o through 9 display. Followed by register specified.
a
number
key,
Also
used
to perform
Digt keys. selects engineering storage register
_Decimal point. notation display. arithmetic.
4

Function
Key Index (Continued)
~
Recall. Follow-
Trigonometry
PolarfRectangular
ad by
number
key.
~
Sets decimal Conversion
recalls value from
degrees
mode
for
E!)
Converts x and y
~
storage register trigonometric rectangular coordi-
specified into
the
functions. nates p
laced
in X-
displayed X
-r
egister.
~
Sets radians
and
Y-registers
to
~
Clear
~
Clears
mode
for trigono- polar coordinates
contents of all
metric
functions. with
magnitude,
and
storage registers. angle
(J
,
iLST
xl
Recalls
~
Sets grads
BJ
Converts p
olar
~
number
d
is
played
mode
for
t
ri
gono-
coordinates with
before the previous metric fu
nct
i
ons
. m
ag
nitu
de
ra
nd
ope
ration back into
~[@@E]
angle
(J
in X-
and
the displayed Computes sine, Y-registers
to
X-register. cosine,
or
tangent
of
rectangular x and y
~
value in displayed coordinates.
X-register.
ISIH"'
Ileos,'11
TAW' I
L:
Mathematics
Computes
arc sine,
arc cosine, or
arc
~
@ Computes tangent of
numbe
r in
square root of
dis
played X·register.
Logarithmic
and
nu
mber
in displayed
..
~~~
Converts
Exponential
~
X·register. decimal hours or o Raises
number
o Computes
deg
r
ees
to hours,
in
Y-register to
square of
number
minutes, seconds or
power
of
number
in
in displayed
degrees
, minutes, displayed X·register.
X-register. seconds.
~
Common
~
lID
Com
putes 8 Converts hours, antilogarithm.
reciprocal of nu
mber
minutes, seconds
or
Raises 10
to
power
in
displayed degrees, minutes, ofnu
mber
in display-
X-register. seconds,
to
decimal ed X-registe
r.
E o Placesvalue ofpi hours
or
degrees.
!£)
Natural
(3.
141
592654) into
I·DEol
Conve
rts antilogarithm.
displayed X·register. radians
to
degrees. Raises e
0800
(2.718281828) to
~
Arithmetic
I·A~ol
Converts
power
of
number
in
ope
rators.
degrees
to
radians. displayed X-register.
S

Function
Key Index
(Continued)
~
Computes
common logarithm
(base 10) of
number
in displayed
X-register.
[E) Computes
natural logarithm
(base
e,
2.718281828) of
number
in displayed
X·register.
Statistics
(EJ Accumulates
number
from X-
and
V-registers into
storage registers Rz
through R7_
CB
Subtracts x and
y values from
storage registers R2
through R7for
correcting
I£J
accumulations.
(!)
Computes
mean
(average) of x
and
y
values accumulated
by
lEI.
[!J
Computes
sample standard
deviations of x
and
y
values accumulated
by
(0.
UTI
Linear
regres-
sion. Computes y-
intercept (A)
and
slope
(8)
for x
and
y
data
points accumu-
lated
using
[B
.
6
mLinear estimate.
Computes a predict-
ed
xvaluefor agiven
y.
ill
Linear estimate.
Computes a predict-
ed
yvaluefor agiven
x.
CD
Computes
correlation
c0-
efficient of x
and
y
values accumulated
by
lEI.
Percentage
~
Computes
x%
of
y.

Programming
Key Index
PROGRAM
Mode
All function keys
except the functions
shown below are
loaded into program
memory when
pressed.
Active keys:
In
PRGM
mode
only
the following opera·
tions are active.
These operations
are used to
he
lp
record programs,
and cannot them-
selves be recor
ded
in program memory.
I
GTO
I Go to. Fol-
lowed by •nn posi-
tions calculator
to
line nn
of
pr
ogram
memory. No instruc-
tions are executed
(page
35).
Automatic
RUN
Mode
PRGM-RUN
switch
""""
.mIl
....
to
RUN. Function keys may
be
executedas
part
of
a recorded progr
am
or individually
by pressing from the keyboard. Input
numbers
and
answers are di
sp
layed
by
the calculator. except where indicated.
Pressed from
keyboard
:
IGTol
Go
to
. Fol-
lowed by .
nn
sets
calculator to line
nn
of
program
memory
.
No instructions are
executed
(page
35).
7
Executed as a
recorded program
Instruction:
,G
TO I
Go
to
. Fol-
l
owed
by nn causes
calcul
ator
to
stop
execution,
sea
rch
through program
me
mory
to
desig-
nated line
and
r
es
u
me
execution
th
ere
(page
36).

-
Programming
Key Index
(Continued)
PROGRAM
Mode
Active keys:
CI.EAR~·
Clear program.
Clears program
me
mory to all I
GTO
I
00 instructions and
sets calculator
to
line
00
(page
14).
Automatic
RUN Mode
Pressed
from
Executed
as
a
keyboard:
recorded
program
instruction
:
IRTN I Return. Sets I RTN I Return.
If
calculator
to
line 00 executed as a result
of
program memory of pressing I
GSB
I or
(page
33). execution of a
~
instruction, stops
execution and
returns control to
keyboard. If axe·
culed as a result of
a programmed lasBI
instruction, returns
control to next line
after the I
Gsal
instruction
(page
60).
CLEAR 1
......
1After
a prefix key, cancels
that key. After other
keys, does nothing.
Does not disturb
program memory or
calculator status.
Sets calculator to
line
00
(page
14).
1
PAUSE
1Stops pro·
gram execution and
displays contents of
X-register for
approximately 1
second, then
resumes program
eXeo.Jtion
(page
38).
8
-
-
~
-
-
.....
~ -
-
~

Programming
Key
Index
(Continued)
PROGRAM
Mode
Automatic
RUN Mode
~
Active
keys: Pressed
from
Executed
as
a
keyboard:
recorded
program
instruction:
=3
I•
.,
1B
ack
step. I
8ST
I Back step.
Moves
ca
l
cu
lator Sets calrulator
to
back one line in and displays line
=3
program memory
(page 35).
number
and keycode
of previous program
memory line when
-
~
pressed; displays
original contents of
~
X-register when
released. No instruc-
tions are executed
=3
(page 35).
~
~
-
~
=!i
filil\ililtilij~
x_o
X:O
X:>O X<:O
-
~
Conditionals. Each
tests value in
X-
-
-,!I
register against 0 or
value in V-register
as indicated.
If
true,
=a
calculator executes
instruction in next
~
line of program
memory. If false,
calculator skips one
--.
-::!I
line before resuming
execution
(page
49).
~
9

Programming
Key Index (Continued)
PROGRAM Mode
Active keys:
ISST I Single step.
Moves calculator
forward one line
in
program memory
(page
35)
.
CLEAR
_PREFlX
I
After
0]
.
00
.1.,01.
IRCtl,
"IX'
,
~
.
IENGI
, I
GS
s
l.
or
I
GTO
I,
cancels that
key.
Automatic
RUN Mode
Pressed
from
Executed
as
a
keyboard: recorded
program
I
nstruction
:
ISST I Single step.
Displays line
nu
m-
ber
and keycode of
cu
rrent program
memory line when
pressed; executes
instruction, dis-
plays resu
lt
, and
moves
ca
lculator to
next
Hne
when
released (page 35).
~
Run/stop.
~
Run/stop.
Begins execution Stops program
from current line
of
execu
ti
on
(page 36).
program memory.
Stops execution if
program
is
running
(page
36)
.
CLEAR'
PREAX I
After I .
OO
,l
sTOI.
IRCt!,
F"i"X
,
~
,
IENGI
, I
GSsl.
or
I
GTO
I,
cancels that
key.
10

~
~
~
~
:::iiij
~
~
~
~
~
b:
~
~
I
Programming
Key Index (Continued)
PROGRAM
Mode
Automatic
RUN Mode
Active
keys: Pressed
from
Executed as a
keyboard
: recorded program
instruction:
IGSBI Go to sub- I
GSBI Go to sub-
routine. Followed routine. Followed
by line number 01- by line number 01-
49, causes calcu-
49
causes calcu-
lator
to
start exe- lator to
go
to desig-
culing instructions nated line and exe-
beginning with cute that section of
designated line program memory
as
(page 60). a subroutine
(page 60).
IHOP I No operation.
Calculator executes
no operation and
continues program
execution(page73).
Any key. Pressing
any key on the key-
board stops execu-
tion of a running
program (page 40).
11

Section 1
Meet the HP-33E
Congratulations!
Your HP-33E Programmable Scientific Calculator is a truly unique and
versatile calculating instrument. Using the Hewlett-Packard RPN
logic system, yo
ur
calculator can s
li
ce
through the most difficult equa-
tions with ease.
It
is
without parallel:
As a scie
nt
i
fi
c cal
cu
lator. The HP-33E features a multiple-entry
keyboard with each
of
the
ke
ys controlling
up
to three separate
operations, ensuring maximum computing power.
As
a pr
ob
l
em
-solving m
ach
ine. Following simple, step-by-step
in
s
tru
c
ti
ons
in
the HP-33E Applications books, you can key
in
any
of
dozens of programs from the areas
of
mathematics, statistics, games,
finance, surveying, and other fields and begin using your calculator.
Immediatel
y.
As a personal
pr
ogra
mm
able calculator. The HP-33E is so ea
sy
to
program a
nd
use that
it
requires
no
prior programming experience
or
knowledge
of
mysterious programming languages. Yet even computer
expe
rt
s can appreciate the sop
hi
s
ti
cated programming features
of
the
calculator:
• 8 data storage
re
gisters.
• 49 lines
of
program memor
y.
• Fully merged prefix and func
ti
on keys that mean more programming
power per line.
• Easy-to-use editing features for correcting and modify
in
g programs.
• Powerful
un
conditional a
nd
conditional branching.
• 3
le
ve
ls
of
subroutines.
And
in
addition, the HP-33E can be operated from
it
s rechargeable
battery pack for complete portability, anywhere.
12

Meet the HP-33E 13
If
you are new to HP calculators and their RPN logic
system,
you may
want to carefu
ll
y
work
through Solving Problems With Your Hew/ell·
Packard CalclIlator before
co
nsulting this
handbook.
Even if you
already own another
HP
calculat
or,
you will find
some
new features
in
the problem solving book.
Now l
et's
take a closer look at your calculator to see how easy
it
is to
use, whetherwe
so
lve a problem manually
or
use its programming
power
to
so
lve the problem automatically.
Manual Problem
Solving
Before
proceeding
you
shou
ld
be
comfo
rtable
solv
ing
problems
manually. If not, referto the Getting Started section
of
Solving Problems
With Your Hewlett-Packard Calculator.
To see the close relationship between the manual solution to a problem
and a programmed
so
lution, let
's
solve a problem manually, and then use
a program to solve the same problem and others like it.
If
you were to calculate the surface area
of
a sphere, you would use
the formula A =
1Td
2 where:
A
is
the surface area
of
the sphere.
d is the diameter
of
the sphere.
1T
is
the va
lu
e
of
pi,
3.14
1592654.
Exa
mple
:
Ganymede,
one
of
Jupit
er's
12
moons,
has a
diameter
of
3,200
miles. You can use the calculator to
manually compute the surface area
of
Ganymede. Merely press the following
keys
in
order.

•
14
Meet the HP-33E
Keystrokes
3200
000
OO
~
o
Display
3,200.
10,240,000.00
3.1416
32,169,908.78
Diameter
of
Ganymede.
Square
of
the diameter.
The quantity
1T.
Surface area
of
Ganymede
in
square miles.
Programmed Problem
Solving
Arter calculating the surface area
of
Ganymede, suppose you decided
you wanted to calculate the surface area
of
each moon. You could
repeat the procedure you used for Ganymede
12
times. using a dif·
ferent diameter
d
each
lime.
However, an easier and
fa
ster method is
to create a
program
that will calculate the surface area
of
any sphere
from its diameter rather than pressing all the keys for each moon.
To
calculate the area
of
a sphere using a program, you should first
write the program, then
yo
u must
load
the program into the calculator,
and finally you
rut!
the program to calculate each answer.
Writing
the
Program.
You have already written it! A program
is
nothing more than the series
of
keystrokes you would execute to solve
the problem manually.
Loading
the
Program.
To
load the keystrokes
of
the program into the
calculator:
I. Slide the PRGM-RUN switch
""""~RUN
to PRGM
(program).
2. Press
fficl.I
AR§
to clear program memory.
3. Press the following keys
in
order. (When you are loading a pro-
gram, the display gives you infomlation that you will find useful
later, but which you can ignore for now.)
Keystrokes
OO0
J
OO
~
o
IGTOIOO
These are the same keys you pressed to
solve the problem manually.
Returns the calculator to top
of
program
memory and halts execution. The program
can then be run again with new data.
The calculator will now remember this keystroke sequence. -
...

Meet the HP-33E 15
Running
the
Program.
To run the program to find the area
of
any sphere from its diameter:
I. Slide the PRGM-RUN switch
"""""'RUN
to RUN.
2.
Press [!]IRTN I
10
sel calculator to top
of
program memory.
3. Key in the
va
lue
of
th
e diameter.
4. Press IR
IS
I
(run/stop)
to run the program.
When you press IRIS
It
the sequence
of
keystrokes you loaded is auto-
matically executed by the calculalOf, giving you the same answer you
would have obtained manually.
For examp
le
,
10
calculate the surface area
of
Ganymede with a diameter
of
3.200 miles:
Keystrokes
3200
IRIS I
Display
3,200.
32,169,908.78 Square miles.
With the program you have loaded, you can now calculate the surface
area
of
any
of
Jupiter's moon
s-
in
faci .
of
all
Y sphere-using
it
s
diameter. Leave the calculator in RUN mode and key in the diameter
of
each sphere for which you want the surface area, then press IA/S
I.
For example, compute the surface area
of
Jupiter"s moon 10 with a
diameter
of
2,3
IO
miles.
Keystrokes
2310
I
RISI
Display
16,763,852.56 Square miles.
Now compute the surface areas for the moons Eur
opa,
diameter
1,950 miles, and Callisto, diameter
3,220
miles.
Keystrokes
1950
IR
IS
I
3220
IRIS I
Display
11,945,906.07
32,573,289.27
Area
of
Europa
in
square
miles.
Area
of
Ca
lli
sto in square
miles.
Programming is
that
easy! The calculator remembers a series
of
keystrokes and then executes them whenever you wish.
In
fact, your
HP·33E can remember up to
49
separate operations (a
nd
many more
keystrokes since many operations require two
or
three keystrokes).

Section 2
Specific Features
of
the HP-33E
Most
of
the features found on the HP-33E are discussed
in
Solvillg
Problems With Your Hewlett-Packard Calculator. However, seve
ral
features unique to the HP-33E (or new to HP calculators) are discussed
in
the following pages.
Self-Check
Routine
Your new
He
wlett-Packard calculator is loaded with features that make
it
easy to use and give you
co
nfidence that the answers you calculate are
right, every time. The self-check routine, a feature found on many
sophisticated electro
ni
c instrume
nt
s and computers, was designed for
just those reasons. We
don't
expect you to ever have a problem with
your calculator, but if you think that it isn '(operating properly, try thi
s:
Keystrokes
ISTO
IIENTER.
I Display
-8
,8,8,8,8,8,8,8,8,8
The display shown above will appear if your calculator
is
operating
properly. Press any key to clear the display back to zero. If your
calculator is not operating properly, your display will show Error 9
or
an
erroneous
di
splay. This tells you that a problem exists
in
the
calculator
's
circuitry and you shou
ld
send
it
in
for service (refer to
Sh
ipping
In
structions
in
this
owners
handbook
).
Pressing any
ke
y will
replace the Error 9
in
the display with a number that tells a Hewlett-
Packard Service Engineer which circuit
in
th
e calculator
is
at fault.
That's right, the calculator not o
nl
y tells you it's having problems, it
tells
us
where the problem is, so we can
fix
it
as quickly and inexpen-
sively as pos
si
ble and return
it
to you without delay.
Note: Using the self-check routine causes all memory to be
cleared, including the stack, data registers, and program
memory.
16
This manual suits for next models
1
Table of contents
Other HP Calculator manuals