Download  Print this page
   

Advertisement

hp calculators
HP 33S Writing a Simple Program
Programming the HP 33S
Practice example: the area of a circle
Tools for programming
Practice example: the sinc function
Using a program in another program

Advertisement

Table of Contents

   Also See for HP 33S

   Related Manuals for HP 33S

   Summary of Contents for HP 33S

  • Page 1 HP 33S Writing a Simple Program Programming the HP 33S Practice example: the area of a circle Tools for programming Practice example: the sinc function Using a program in another program...
  • Page 2 A simple program is just a set of keystrokes stored so that they can be carried out with one key. The HP 33S provides many commands to let programs do more, for example stop and ask for input, or show an intermediate result. This training aid concentrates on simple programming;...
  • Page 3 To use the program, it is necessary to move out of program mode, and to return to the beginning of the program. Then a radius is typed and the ¥ key is pressed. The HP 33S executes (or runs) the program.
  • Page 4 Tools for programming The HP 33S 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 33S starts over again at line 1, with the new label’s name at the beginning of each line.
  • Page 5 HP 33S Writing a Simple Program Each label can be used only one time, and the HP 33S treats the lines from one label until the next label as a separate program. It is also possible to have a program with no label, from the “PRGM TOP” until the first label.
  • Page 6 The LBL and the RTN help to identify each program. If a program is executed by the user pressing ¥ then the Ô goes back to the top of program memory, where the program stops. If both program B and program A are in the HP 33S, and program A is used, then the RTN at the end will go to label B at the top of program memory.
  • Page 7 0 will be clear, because it was cleared at step C0003. This is the way all tests work in HP 33S programs – do the next step if the test is true, or just do if true.
  • Page 8 -499 HP 33S replaces numbers this small with zero. So the result should not be tested, instead flag 0 should be tested, and if it is set then the original number was zero. In that case, it must be turned into a 1. First press º·30.
  • Page 9 … more program lines … As this shows, if another program needs to calculate a sinc value, it can use program C like an HP 33S function. First the number x is typed. Then, Instead of typing a function name, the user must call the sinc program by typing XEQ C.

Comments to this Manuals

Symbols: 0
Latest comments: