Creating Your Own Program; The Beginning Of Aprogram - HP -67 Owner's Handbook Manual

Hide thumbs Also See for HP-67:
Table of Contents

Advertisement

Simple Programming
133
Creating Your Own Program
In Meet the HP-67, at the beginning of this handbook, you created,
loaded, ran, and recorded a program that solved for the surface area of
a sphere, given the diameter of that sphere. Now let's create, load, and
run another program to show you how to use some of the otherfeatures
of the HP-67.
If you wanted to use the HP-67 to manually calculate the area of a
circle using the formula 4 = 7r? you could first key in the radius r,
then square it by pressing B} (7). Next you would summon the
quantity pi into the display by pressing @ (). Finally you would
multiply the squared radius and the quantity pi together by pressing
Remember that a program to solve a problem is nothing more than the
keystrokes you would press to solve the problem manually. Thus, in
orderto create a program for the HP-67 that will solve for the area of
any circle, you use the same keys you pressed to solve the problem
manually.
The keys that you used to solve for area of a circle according to the
formula A = r2 are:
8
0@
8
You will load these keystrokes into program memory. In addition,
your program will contain two other operations,
¥ and [RTN).
The Beginning of a Program
To define the beginning of a program you should use an
(label) instruction followed by one ofthe letter keys (£, [,
( 4 , & or
@) or@
followed by (2) through (5. The use of labels permits
you to have several different programs or parts of programs loaded
into the calculator at any time, and to run them in the order you choose.
The digit keys(0] through(8)), when prefaced by £ (CELJ, can also be
used to define the beginning of a program. However, since you must
use 8
(n) from the keyboard if you want to select and execute
that program,
(9) through
(8] are usually reserved for defin-
ing routines—that is, parts of larger programs.

Advertisement

Table of Contents
loading

Table of Contents