Example: Entering a Program with an Equation.

The following program calculates the area of a circle using an equation, rather than using RPN operations like the previous program.

Keys:

Display:

Description:

(In RPN mode)

 

 

{e{

 !

V

 

E

  

IR

 ! 

HN 

zLR



2 ‘

 πº:



/ 

 

/

–

 !

{Y{}

 

 

/ 



/

 

/ 

‡‡

Activates Program–entry mode; sets pointer to top of memory.

Labels this program routine E (for "equation").

Stores radius in variable R.

Selects Equation–entry mode; enters the equation; returns to Program–entry mode.

Ends the program. Displays label E and the length of the program in bytes.

Checksum and length of equation.

Cancels program entry.

12–8Simple Programming

Page 166
Image 166
HP 33s Scientific manual Hn , Zlr, 12-8Simple Programming, Example Entering a Program with an Equation