Routine-Subroutine Usage - HP -33E Owner's Handbook Manual

Hide thumbs Also See for HP-33E:
Table of Contents

Advertisement

Run the program now to find the roots
of the equations:
x2+x—-6=0;3x2+2x —1=0.
To run the program:
Subroutines
65
Slide the PRGM-RUN switch praMm|J[[]Jrun to RUN and press
(9]
to return to top of program memory.
Keystrokes
1 (ris)
1 (rrs]
CHS
R
R
TN
R/S
R
S
R/S
Display
1.0000
1.0000
-6.
2.0000
-3.0000
-3.0000
3.0000
2.0000
-1.
0.3333
-1.0000
Program initialized.
Calculates the first root, r ;.
Calculates the second root,
rs.
Returns to top of program
memory
Program initialized.
Calculates r,.
Calculates r,.
If the quantity b, — 4ac is a negative number, the calculator will display
Error 0
and the running program will stop, because the square root
of a negative number results in an error.
Routine-Subroutine Usage
Subroutines give you extreme versatility in programming. A subroutine
can contain a loop, or it can be executed as part of a loop. Another

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-33c

Table of Contents