(HP65) Markup  % of price and % of cost

01182020, 02:05 AM
(This post was last modified: 01182020 07:45 PM by Dave Britten.)
Post: #1




(HP65) Markup  % of price and % of cost
This program solves the pricecostmarkup equation for any variable, and using either markup as % of price or markup as % of cost.
Recommended Key Labels A: P B: C C: MU% D: %P E: %C If you wish to follow the Finance Pac labeling convention, draw a box around P, C, and MU%, to represent variables that can be solved for. Usage Keys A, B, and C represent the variables in the equation: price, cost, and markup % respectively. To store a value, enter it into x and press the matching key. To solve for a variable, press the matching key with 0 in the x register. To select % of price or % of cost mode, press either D or E respectively. The calculation mode is controlled by flag 1, with % of price represented by flag 1 cleared (the default state). Examples If a store is purchasing a product for $38 and selling it for $50, what is the markup over cost? E (set % of cost mode) 38 B 50 A C: 31.58% A company purchases a finished good for $27 wholesale. They would like to make at least 24% margin on the sale of this good. What should the minimum selling price be? D (set % of price/margin mode) 27 B 24 C A: $35.53 Code: LBL 23 

01182020, 06:41 AM
Post: #2




RE: (HP65) Markup  % of price and % of cost
Finally someone here interested about Markup% and Margin%
I called this Business Percent as " Profit on Pricing " calculations. I have program this on serveral HP RPN programmable calculator here. HP12C https://www.hpmuseum.org/forum/thread13043.html HP11C https://www.hpmuseum.org/forum/thread12947.html HP41C https://www.hpmuseum.org/forum/thread14258.html HP67 https://www.hpmuseum.org/forum/thread12987.html Your program algorithm is very interesting compared to my version. Gamo 

01182020, 02:11 PM
Post: #3




RE: (HP65) Markup  % of price and % of cost
You have to get creative when you only have 100 steps, and things like LBL, GTO, and 1/x take 2 of them.
I was trying to come up with a way to have all four variables without the manual mode switch, but I don't think it can be done elegantly in the space available. 

01182020, 07:27 PM
Post: #4




RE: (HP65) Markup  % of price and % of cost
In line #11, the shouldnâ€™t the key code be 81 instead of 61?
/ =81 + = 61 Dave RPN rules! 

01182020, 07:44 PM
Post: #5




RE: (HP65) Markup  % of price and % of cost  
01192020, 09:08 AM
Post: #6




RE: (HP65) Markup  % of price and % of cost
Pricing on Profit program for HP12C took only 60 program steps.
Gamo 

01192020, 01:08 PM
Post: #7




RE: (HP65) Markup  % of price and % of cost
(01192020 09:08 AM)Gamo Wrote: Pricing on Profit program for HP12C took only 60 program steps. Interesting. I'll have to give it a closer look, but that might fit on the 65. However, any GTO would become 2 steps and require a matching LBL  which would also be 2 steps  the 65 doesn't have builtin percent functions, so those would become more steps, and functions like 1/x are unmerged and take two steps (one for the shift key). 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)