Download Print this page

HP 35s User Manual page 4

Scientific calculator - writing a simple program
Hide thumbs Also See for HP 35s:

Advertisement

hp calculators
HP 35s Writing a Simple Program
The second line is an instruction to set algebraic mode, to make sure program B is not used accidentally in
RPN mode. If the user always works in algebraic mode, or always remembers to switch to the right mode
before using a program then this program line is not needed, but it is always safer to use it. A similar line,
setting RPN mode, could have been used in program A for the same reason.
Line B003 squares the value in the X register, referred to in the program as REGX. This value will be the
value keyed in before the program is run.
This program works just like the RPN version. To use it, first move out of program mode, and to go to the
beginning of the program. Then a radius is typed and the program is executed.
Therefore, to calculate the area of a circle with radius 5, press:
º£¹Ô5¥
Answer:
As in RPN mode, the area of a circle with radius 5 cm is calculated at just over 78.54 square cm.
To calculate the area of another circle with a different radius, it is enough to type the new radius and press
¥ again. Like the RPN program, this program works similarly to a new function, executed by means of
the ¥ key instead of a key with the name of one of the functions built into the HP 35s.
Tools for programming
The HP 35s allows the user to create any or all of the labels from LBL A through LBL Z. The lines after a label all have
that label at the beginning of their line numbers. When a new label is typed, the HP 35s starts over again at line 1, with
hp calculators
Figure 6
Figure 7
Figure 8
Figure 9
- 4 -
Figure 10
HP 35s Writing a Simple Program - Version 1.0

Advertisement

loading