HP -25 Owner's Handbook Manual page 89

Table of Contents

Advertisement

To see how [ [Fause Jcan be used in a program, we'll modify
the cylinder volume program in the previous example. In the
new program the area of the base will only 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.
To key in the program, set the PRGM-RUN switch to PRGM
encw ([~ and press [ crci] to clear program memory and
display step 00. Then key in the following list of keys.
Press
Display
(]
Calculates the area of the base.
Pauses to show the base area for
one second.
(x]
Calculates final volume ofcan.
This program also assumes the height has been entered into the
Y-register and the radius has been keyed into the X-register. If
you have stored the instructions, set the PRGM-RUN switch
to RUN erew [l =and press [ 2G| so that the calculator
will begin execution from step 00. Now complete the table
below using the new program.
Height
Radius
Area of Base
Volume
20
15
?
?
10
5
?
?
Press
Display
20
Enter the height into the
Y-register.
15
Area of base is displayed for
one second.
Program stops, displaying the
volume.
10
10.00
Enter the second height into Y.

Advertisement

Table of Contents
loading

Table of Contents