HP 113394 User Guide - Page 141
Program Editing
UPC - 808736340502
View all HP 113394 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 141 highlights
Section 10: Program Editing 141 Note: To add one or more instructions at the end of a program that is not the last program stored in program memory, use the procedure described below under Adding Instructions within a Program. Example: With the last program from the preceding section stored in the calculator, suppose you wanted to calculate the net income after taxes. In the RPN program, you could add a - instruction at the end in order to calculate the net income after taxes. In the ALG program, the tax computed would need to be subtracted from the income previously stored in R9 (and this will be done by changing the sign of the tax to make it negative and then adding it to the income). You could do this as follows: Keystrokes (RPN mode) Display fs gi.008 - fs 15000t Sets calculator to Program mode. 008, 25 Sets calculator to last line keyed into program memory. 009, 30 Keys new instruction into program line 009. 25.00 Sets calculator back to Run mode. 12,000.00 Net income after 20% tax is subtracted from $15,000 income. Keystrokes (ALG mode) fs gi.011 Þ + :9 } fs Display 011, 012, 013, 014, 015, 25.00 36 16 40 45 9 36 Sets calculator to Program mode. Sets calculator to last line keyed into program memory. Keys new instruction into program line 012. Keys new instruction into program line 013. Keys new instruction into program line 014. Keys new instruction into program line 015. Sets calculator back to Run mode. File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 141 of 275 Printed Date: 2005/8/1 Dimension: 14.8 cm x 21 cm