13-18 Simple Programming
Now find the volume and surface area–of a cylinder with a radius of 2
1
/
2
cm and
a height of 8 cm.
Displaying Information without Stopping
Normally, a program stops when it displays a variable with VIEW or displays an
equation message. You normally have to press
to resume execution.
If you want, you can make the program continue while the information is displayed.
If the next program line — after a VIEW instruction or a viewed equation —
contains a PSE (pause) instruction, the information is displayed and execution
continues after a 1–second pause. In this case, no scrolling or keyboard input is
allowed.
The display is cleared by other display operations, and by the RND operation if flag
7 is set (rounding to a fraction).
Press
to enter PSE in a program.
The VIEW and PSE lines — or the equation and PSE lines — are treated as one
operation when you execute a program one line at a time.
Keys:
(In RPN mode)
Display: Description:
C
value
Starts executing C; prompts for
R. (It displays whatever value
happens to be in R.)
value
Enters 2
1
/
2
as a fraction.
Prompts for H.
Message displayed.
Volume in cm
3
.
Surface area in cm
2
.