(12C Platinum) Assign Labels to Program - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (12C Platinum) Assign Labels to Program (/thread-14374.html) |
(12C Platinum) Assign Labels to Program - Gamo - 01-17-2020 11:28 AM The HP-12C Platinum got very large program space to spare. I have make a special routine to act just like Assigned Labels. These assign labels are a numbers that point to specific programs. For example: [1] Profit on Pricing [2] Combination [3] Permutation [4] Exclusive Tax If user want to use Permutation program: [PRGM] 3 [R/S] display 3 // indictate that it is from Program# 3 All four programs run in the loop so same program can be use over and over. If need to use other program press [PRGM] and select the program# [R/S] Since the above program example are a good program to have with the HP-12C Platinum I will provide the complete program here. ------------------------------------------------------------------- To select program: [PRGM] Program# [R/S] display Program# ----------------------------------------------------- [1] Profit on Pricing [PRGM] 1 [R/S] display 1 Cost [ENTER] Price [ENTER] Markup [ENTER] Margin [R/S] display 0 Enter 0 for the two unknown data RCL n for Cost RCL i for Price RCL PV for Markup RCL PMT for Margin -------------------------------------- [2] Combination: mCn [PRGM] 2 [R/S] display 2 m [ENTER] n [R/S] display Answer --------------------------------------- [3] Permutation: mPn [PRGM] 3 [R/S] display 3 m [R/S] n [R/S] display Answer ------------------------------------ [4] Exclusive Tax [PRGM] 4 [R/S] display 4 Store Tax Rate to Register 0 // [STO] 0 Price Include Tax [R/S] Price without Tax [X<>Y] Tax amount ----------------------------------- Program: RPN mode Code:
Example: Permutation of 15P5 and 80P5 [PRGM] 3 [R/S] display 3.00 15 [R/S] display 15 5 [R/S] display answer 360,360.00 80 [R/S] display 80 5 [R/S] display answer 2,884,801,920. ---------------------------------------- Tax Rate is 7% with $100 including tax. What is the price without tax and tax amount? [PRGM] 4 [R/S] display 4.00 7 [STO] 0 100 [R/S] display answer for Price without tax $93.46 [X<>Y] display anwer for tax amount $6.54 --------------------------------------- Gamo 1/2020 |