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:

(In RPN mode)

 

()Ö() 



 



 



 π

 



 

Description:

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:

(In RPN mode)

 



 

5



Description:

This sets the program to its

beginning. The answer!

In ALG mode, to enter this program into program memory, do the following:

 

Keys:

Display:

Description:

 

(In ALG mode)

 

Clears memory.

 

()Ö()

 Activates Program–entry mode (PRGM annunciator on).

13-2Simple Programming

Page 184
Image 184
HP 35s Scientific manual , 13-2Simple Programming, Area = πx2