05-30-2021, 01:02 PM
This program is adapted from the HP-67/97 Users' Library Solutions "Marketing/Sales Page 51
According to this book this program is called " Cost and Price Computations "
Program Description, Equations, Variables
Sales work often involves calculating the unknown
amongst the interrelated terms margin, markup, selling price, and cost. Margin is
defined as 100 x (selling price - cost) ÷ selling price. Markup is 100 x (selling price - cost) ÷ cost.
There are numerous equations which evolve from the interrelation of these terms.
This program solves for any of the four variables when two of the other variables are known.
--------------------------------------------------------------
Keys Variables
[A] Selling Price // [A] and [B] use for either as input and output
[B] Cost
[C] Margin // [C] and [D] use for input only
[D] Markup
[GSB] 7 // Output Answer for Margin
[GSB] 8 // Output Answer for Markup
--------------------------------------------------------------
Example: FIX 2 [USER]
a) If the margin is 20% and cost is $160, what is the selling price?
20 [C] display 0.20
160 [B] display 160.00
[A] [R/S] display answer for Cost = 200.00
b) If the margin is 30% what markup would this be?
30 [C] display 0.30
[GSB] 8 display 42.86
c) If the Price is $50 and Markup is 25% What is the Cost and Margin?
50 [A] display 50.00
25 [D] display 0.25
[B] [R/S] display answer Cost = 40.00
[GSB] 7 display answer Margin = 20.00
-----------------------------------------------------------
Program:
Gamo
According to this book this program is called " Cost and Price Computations "
Program Description, Equations, Variables
Sales work often involves calculating the unknown
amongst the interrelated terms margin, markup, selling price, and cost. Margin is
defined as 100 x (selling price - cost) ÷ selling price. Markup is 100 x (selling price - cost) ÷ cost.
There are numerous equations which evolve from the interrelation of these terms.
This program solves for any of the four variables when two of the other variables are known.
--------------------------------------------------------------
Keys Variables
[A] Selling Price // [A] and [B] use for either as input and output
[B] Cost
[C] Margin // [C] and [D] use for input only
[D] Markup
[GSB] 7 // Output Answer for Margin
[GSB] 8 // Output Answer for Markup
--------------------------------------------------------------
Example: FIX 2 [USER]
a) If the margin is 20% and cost is $160, what is the selling price?
20 [C] display 0.20
160 [B] display 160.00
[A] [R/S] display answer for Cost = 200.00
b) If the margin is 30% what markup would this be?
30 [C] display 0.30
[GSB] 8 display 42.86
c) If the Price is $50 and Markup is 25% What is the Cost and Margin?
50 [A] display 50.00
25 [D] display 0.25
[B] [R/S] display answer Cost = 40.00
[GSB] 7 display answer Margin = 20.00
-----------------------------------------------------------
Program:
Code:
[LBL] A [STO] 0 [SF] 1 [R/S] [RCL] 1 [RCL] 2 [F] 0 [CHS] 1 [+] [F] 0 [1/x] [x] [STO] 0 [RTN]
[LBL] B [STO] 1 [SF] 1 [R/S] [RCL] 0 [RCL] 2 [F] 0 [CHS] 1 [+] [F] 0 [1/x] [1/x] [x]
[STO] 1 [RTN]
[LBL] C 1 [%] [STO] 2 [SF] 0 [CF] 1 [R/S]
[LBL] 7 [RCL] 2 [F] 1 [GTO] 4 [ENT↑] [ENT↑] 1 [+] [1/x] [x] [STO] 2 [SF] 0 [EEX] 2 [x] [RTN]
[LBL] D [CF] 0 [CF] 1 1 [%] [STO] 2 [R/S]
[LBL] 8 [F] 1 [GTO] 5 [RCL] 2 [ENT↑] [ENT↑] [CHS] 1 [+] [1/x] [x] [STO] 2 [CF] 0 [EEX] 2
[x] [RTN]
[LBL] 4 [RCL] 0 [RCL] 1 [△%] [CHS] [SF] 0 1 [%] [STO] 2 [X<>Y] [RTN]
[LBL] 5 [RCL] 1 [RCL] 0 [△%] [CF] 0 1 [%] [STO] 2 [X<>Y] [RTN] [R/S]
Gamo