HP 113394 User Guide - Page 105
Programming Basics
UPC - 808736340502
View all HP 113394 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 105 highlights
Section 8: Programming Basics 105 Example: Your office supplies dealer is selling selected stock at 25% off. Create a program that calculates the net cost of an item after the discount is subtracted and the $5 handling charge is added. First, we'll manually calculate the net cost of an item listing for $200. Keystrokes (RPN mode) Display 200 \ 25b 5 + 200. 200.00 50.00 150.00 5. 155.00 Keys in cost of item. Separates cost of item from percentage to be keyed in next. Amount of discount. Price less discount. Handling charge. Net cost (price less discount plus handling charge). Keystrokes (ALG mode) Display 200 - 25b + 5 } 200. 200.00 50.00 150.00 5. 155.00 Keys in cost of item. Separates cost of item from percentage to be keyed in next. Amount of discount. Price less discount. Handling charge. Net cost (price less discount plus handling charge). Next, set the calculator to Program mode and erase any program(s) already stored: Keystrokes Display fs fCLEARÎ 000, Sets calculator to Program mode. Clears program(s). Finally, press the keys that we used above to solve the problem manually. Do not key in 200; this number will vary each time the program is used. Don't be concerned right now about what appears in the display as you press the keys; we'll discuss that later in this section. File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 105 of 275 Printed Date: 2005/8/1 Dimension: 14.8 cm x 21 cm