HP 33s hp 33s_user's manual_English_E_HDPM20PIE56.pdf - Page 167
Running a Program, Executing a Program (XEQ)
UPC - 082916001456
View all HP 33s manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 167 highlights
Running a Program To run or execute a program, program entry cannot be active (no program-line numbers displayed; PRGM off). Pressing will cancel Program-entry mode. Executing a Program (XEQ) Press X label to execute the program labeled with that letter. If there is only one program in memory, you can also execute it by pressing { V g (run/stop). If necessary, enter the data before executing the program. Example: Run the programs labeled A and E to find the areas of three different circles with radii of 5, 2.5, and 2π. Remember to enter the radius before executing A or E. Keys: (In RPN mode) Display: Description: 5X A " ) 2.5 X E ) 2|NzX A ) Enters the radius, then starts program A. The resulting area is displayed. Calculates area of the second circle using program E. Calculates area of the third circle. Testing a Program If you know there is an error in a program, but are not sure where the error is, then a good way to test the program is by stepwise execution. It is also a good idea to test a long or complicated program before relying on it. By stepping through its execution, one line at a time, you can see the result after each program line is executed, so you can verify the progress of known data whose correct results are also known. 1. As for regular execution, make sure program entry is not active (PRGM annunciator off). Simple Programming 12-9