Programming - HP -20S Owner's Manual

Scientific calculator
Hide thumbs Also See for HP-20S:
Table of Contents

Advertisement

Programming
A program lets you repeat calculations without repeating keystrokes.
To enter a program, you use the same keystrokes that you use man-
ually, but press the keys while you are in Program mode. Your
calculator will then repeat them on command.
The HP-20S enables you to use its programming features in two
ways. You can write original programs by having the calculator record
and repeat your keystrokes, or you can run any one of six built-in
programs.
Any program, regardless of whether you entered it yourself or loaded
it from the built-in program library, can be run and edited. This chap-
ter explains how to do original programming and editing. Chapter 7
gives instructions on using the built-in programs.
Before the programming concepts and commands are explained in de-
tail, try this quick example. Start by writing out the formula, then
solve the problem from the keyboard.
A Simple Programming Example. To find the cross-sectional area
of a pipe with a diameter of 5 inches, use the formula
wd'
4
A=
Before doing the calculation, rearrange the equation in this order
d2 X © + 4 = A,
Enter 5 in the display and press:
HIEIXEEHE 4 )
giving a result of 19.6350 square inches.
6: Programming
61

Advertisement

Table of Contents
loading

Table of Contents