HP (Hewlett-Packard) HP 33s Calculator User Manual


 
12–2 Simple Programming
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
RPN mode ALG mode



π



π


This very simple program assumes that the value for the radius is in the X– register
(the display) when the program starts to run. It computes the area and leaves it in
the X–register.
In RPN mode, to enter this program into program memory, do the following:
Keys:
(In RPN mode)
Display: Description:
¹
¡
{

} {
}
Clears memory.
¹
£
Activates Program–entry mode
(
PRGM annunciator on).
¹
r
Ë
Ë


Resets program pointer to
PRGM TOP.
=

(Radius)
2
º
j

π
¸

Area =
π
x
2
¹
£
Exits Program–entry mode.
Try running this program to find the area of a circle with a radius of 5:
Keys:
(In RPN mode)
Display: Description:
¹
r
Ë
Ë
This sets the program to its
beginning.
5
¥

The answer!
We will continue using the above program for the area of a circle to illustrate
programming concepts and methods.