Business Percent on Pricing Calculations - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: HP-65/67/97 Software Library (/forum-12.html) +--- Thread: Business Percent on Pricing Calculations (/thread-12987.html) |
Business Percent on Pricing Calculations - Gamo - 05-19-2019 01:04 AM Input two known variables and solve for the remain two unknown variables for [A] Cost [B] Selling Price [C] Markup [D] Margin [E] Reset Follow this topic from previous post for procedure and example at https://www.hpmuseum.org/forum/thread-12947.html *LBL A: // under line 04 add [CLx] [STO 1] 001: 31 25 11 LBL A 002: 33 01 STO 1 003: 35 71 03 F3? 004: 35 22 RTN 005: 31 22 00 GSB 0 [064] 006: 34 02 RCL 2 007: 01 1 008: 34 03 RCL 3 009: 31 82 % 010: 61 + 011: 81 รท 012: 33 01 STO 1 013: 35 22 RTN *LBL B: // under line 17 add [CLx] [STO 2] 014: 31 25 12 LBL B 015: 33 02 STO 2 016: 35 71 03 F3? 017: 35 22 RTN 018: 31 22 00 GSB 0 [064] 019: 34 01 RCL 1 020: 34 03 RCL 3 021: 31 82 % 022: 61 + 023: 33 02 STO 2 024: 35 22 RTN *LBL C: // under line 28 add [CLx] [STO 3] 025: 31 25 13 LBL C 026: 33 03 STO 3 027: 35 71 03 F3? 028: 35 22 RTN 029: 34 01 RCL 1 030: 31 51 x=0? 031: 22 02 GTO 2 [040] 032: 34 02 RCL 2 033: 31 51 x=0? 034: 22 02 GTO 2 [040] 035: 34 01 RCL 1 036: 34 02 RCL 2 037: 32 82 % CH 038: 33 03 STO 3 039: 35 22 RTN LBL 2: 040: 31 25 02 LBL 2 041: 31 22 00 GSB 0 [064] 042: 33 03 STO 3 043: 35 22 RTN *LBL D: // under line 47 add [CLx] [STO 4] 044: 31 25 14 LBL D 045: 33 04 STO 4 046: 35 71 03 F3? 047: 35 22 RTN 048: 34 01 RCL 1 049: 31 51 x=0? 050: 22 03 GTO 3 [060] 051: 34 02 RCL 2 052: 31 51 x=0? 053: 22 03 GTO 3 [060] 054: 34 02 RCL 2 055: 34 01 RCL 1 056: 32 82 % CH 057: 42 CHS 058: 33 04 STO 4 059: 35 22 RTN LBL 3: 060: 31 25 03 LBL 3 061: 31 22 00 GSB 0 [064] 062: 33 04 STO 4 063: 35 22 RTN LBL 0: 064: 31 25 00 LBL 0 065: 34 03 RCL 3 066: 31 51 x=0? 067: 22 01 GTO 1 [077] 068: 34 03 RCL 3 069: 35 62 1/x 070: 43 EEX 071: 42 CHS 072: 02 2 073: 61 + 074: 35 62 1/x 075: 33 04 STO 4 076: 35 22 RTN LBL 1: 077: 31 25 01 LBL 1 078: 34 04 RCL 4 079: 35 62 1/x 080: 43 EEX 081: 42 CHS 082: 02 2 083: 51 - 084: 35 62 1/x 085: 33 03 STO 3 086: 35 22 RTN *LBL E: 087: 31 25 15 LBL E 088: 44 CLx 089: 33 01 STO 1 090: 33 02 STO 2 091: 33 03 STO 3 092: 33 04 STO 4 093: 35 22 RTN Remark: Possible combination pairs of Input and Output are as follow. A B --> C D or D C A C --> B D A D --> B C B C --> A D B D --> A C Gamo |