HP 48gII Advanced User's Reference Manual page 30

Graphing calculator
Hide thumbs Also See for 48gII:
Table of Contents

Advertisement

To stop an executing program:
Press −.
!
Example:
Enter a program that takes a radius value from the stack and calculates the volume of a sphere of
radius r using
If you were going to calculate the volume manually after entering the radius on the stack, you might press these
keys:
3Q!ì*4`3/*@ï
Enter the same keystrokes in a program. (@ë just starts a new line.)
@%
3Q!ì*4#3/*
@ë @ï
Put the program on the stack.
`
Store the program in variable VOL. Then put a radius of 4 on the stack and run the VOL program.
OVOL K
4 J %VOL%
The program is
« 3 ^ œ * 4 3 / * NUM »
Example:
Replace the program from the previous example with one that's easier to read. Enter a program that
uses a local variable structure to calculate the volume of a sphere. The program is
«  r '4/3*œ*r^3' NUM »
(You need to include " NUM because causes a symbolic result, unless Flag -2 or Flag -3 is set)
Enter the program. (@ë just starts a new line.)
@%
@ér #
O4 /3 *!ì*
r Q3 ™@ë@ï
Put the program on the stack, store it in VOL, and calculate the volume for a radius of 4.
OVOLK
4 %VOL%
1-4 RPL Programming
4
3
r
V
3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents