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:

Display:

Description:

(In RPN mode)

 

 

{c{} {&}



{e



{V

 !

!

 º

N

 π

z

 º

{e

 

Clears memory.

Activates Program–entry mode (PRGM annunciator on). Resets program pointer to

PRGM TOP. (Radius)2

Area = πx2

Exits Program–entry mode.

Try running this program to find the area of a circle with a radius of 5:

Keys:

Display:

Description:

(In RPN mode)

 

 

{V



This sets the program to its

 

 

beginning.

5 g

) 

The answer!

We will continue using the above program for the area of a circle to illustrate programming concepts and methods.

12–2Simple Programming