Programs can be used for repetitive calculationscalculations that may involve more input or output control and intricate logic. A program allows the repetition of operations and calculations in the precise manner desired.
hpsupportheadportlet
Actions ${title}
Loading...
HP Customer Support
hpcontactsecondarynavigationportlet
Actions ${title}
Loading...
hpherosupportsearch
Actions ${title}
Loading...
hpshareprintwidgetportlet
Actions ${title}
Loading...
hpconcentrawrapperportlet
Actions ${title}
Loading...
HP 32sii Calculator  Simple Programming
Calculator symbol key
The procedures in this document use the following text to represent symbol keys:
Key

Description

Text Representation


Right shift key

RS


Leftshift key

LS


pi

pi

Example of running a simple program
To find the area of a circle with the radius of 5, use the formula A = pi r^{2}m and press
5, LS, x^{2}, RS, pi, then x to get the result for this circle: 78.5398.
To find the areas of many different circles, it is not necessary to repeat the given keystrokes each time (vary only the "5" for the different radii). The repeatable keystrokes can be put into a program:
001 x^{2}
002 pi
003 x
This very simple program assumes that the value for the radius is in the Xregister (the display when the program starts to run. It computes the area and leaves it in the Xregister.
To enter this program into the program memory, do the following:
Keys

Display

Description

Press LS, CLEAR, ALL, then Y


Clears memory

Press LS, then PRGM


Activates Programentry mode (PRGM annunciator on)

Press LS, GTO, [.], then [.]

PRGM TOP

Resets program pointer to PRGM TOP

Press LS, then x^{2}

001 x^{2}

(Radius)^{2}

Press RS, then pi

002 pi
 
Press x

003 x

Area = pi x^{2}

Press LS, then PRGM


Exits Programentry mode

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

Display

Description

Press 5, LS, GTO, [.], then [.]

5.0000

This sets the program to its beginning

Press R/S

78.5398

The answer

hpfeedbackinputportlet
Actions ${title}
Loading...
hponlinecommunitiesportlet
Actions ${title}
Loading...
Ask the community!
hpfeedbackbannerportlet
Actions ${title}
Loading...
hpcountrylocatorportlet
Actions ${title}
Loading...
Country:
United States
hpdetectloadmydeviceportlet
Actions ${title}
Loading...