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.
Summary of Contents for 33S
Page 14: ......
Page 15: ...Part 1 Basic Operation ...
Page 16: ......
Page 56: ......
Page 64: ......
Page 82: ......
Page 92: ......
Page 122: ......
Page 138: ......
Page 157: ...Part 2 Programming ...
Page 158: ......
Page 184: ......
Page 210: ......
Page 222: ......
Page 293: ...Part 3 Appendixes and Reference ...
Page 294: ......
Page 324: ......
Page 348: ......