Pausing During Program Execution - HP -11C Owner's Handbook Manual

Hide thumbs Also See for HP-11C:
Table of Contents

Advertisement

90
Section 5: Programming Basics
The radius (r) and the height (h) of the can are keyed into the
X-and Y-registers, respectively before the program is run.
To record this program, set the HP-11C to Program mode, then key
in the following program instructions.
Keystrokes
Display
{A} CLEAR
[PRGM
000-
Clears program memory
and displays line 000.
#)(LBL)[A]
001-42,21,11
(7)
002-
4311
Square the radius.
Ges
003-
4216
Place vin X.
x
004-
20
Calculate the area of the
base.
R/S)
005-
31
Stop to record the area.
x
006-
20
Calculate the final
volume.
9 |(RTN
007-
4332
Set the HP-11C to Run mode. Then use the program to complete the
table below:
Keystrokes
Display
25
25.0000
Enter the height into the
Y-register.
10fA
314.1593
Key the radius into the X-
register and calculate
area. Program stops to
display the area.
R/S
7,853.9816
Volume of first can is
calculated.
8
8.0000
Enter the height into the
Y-register.
as
a
a
Nee
Section 5: Programming Basics
91
Keystrokes
Display
Pausing During Program Execution
Keystrokes
Display
(CLEAR [PRGM
000-
0)
001-42,21,11
o)Le)
002-
4311
Squares the radius in X.

Advertisement

Table of Contents
loading

Table of Contents