Post Reply 
HP 10bii+ Margin/Markup bug
03-29-2021, 04:39 PM (This post was last modified: 04-10-2021 12:05 AM by Rick314.)
Post: #18
RE: HP 10bii+ Margin/Markup bug
(03-29-2021 01:08 AM)Gamo Wrote:  This can be done on the HP-12C ...
Gamo: Sorry, but what you demonstrated does not solve the proposed problem. Maybe that problem isn't clear.
Quote:On any HP calculator, a Solver function (so limited to that tool) that solves all markup, cost, price, margin (MU CST PRC MAR) problems, finding all possible solution variables by solving for any possible solution variable.
This is a user interface problem, not a problem with making a programming language do the required mathematics using additional keys and keystrokes.

The main point of the thread is that HP firmware engineers could have made the MU CST PRC MAR keys on the HP 10bII+ (and other calculators) work as users expect instead of giving errors for valid input-output cases. Specifically, once the 4 variables involved are cleared to zero, these 12 keystroke sequences must work (plus entering the inputs in any order).
Code:
#   Keystrokes        Solves For
==  ================  ==============
01  20 MAR MU         MU
02  20 MAR 4 CST MU   MU, PRC
03  20 MAR 5 PRC MU   MU, CST
04  4 CST 5 PRC MU    MU, MAR
05  25 MU MAR         MAR
06  25 MU 4 CST MAR   MAR, PRC
07  25 MU 5 PRC MAR   MAR, CST
08  4 CST 5 PRC MAR   MAR, MU
09  5 PRC 25 MU CST   CST, MAR
10  5 PRC 20 MAR CST  CST, MU
11  4 CST 25 MU PRC   PRC, MAR
12  4 CST 20 MAR PRC  PRC, MU
That is what the provided HP 200 LX solution does, and all Solves For values are visible immediately after the last keystroke. If implemented on a calculator with a 1-line display (like the HP 10bII+ or 12C or 42 or ...) then doing the additional keystrokes "RCL <second Solved For variable>" would also be allowed. But that's it. No use of any additional keys or keystrokes.

4/9/21 error correction: "02 20 MAR 4 CST MU -> MU, PRC" (corrected) was "02 25 MU MAR -> MAR" (error, duplicate of row 05).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 10bii+ Margin/Markup bug - Rick314 - 03-23-2021, 07:51 PM
RE: HP 10bii+ Margin/Markup bug - Gene - 03-23-2021, 08:08 PM
RE: HP 10bii+ Margin/Markup bug - Rick314 - 03-23-2021, 09:05 PM
RE: HP 10bii+ Margin/Markup bug - Rick314 - 03-23-2021, 09:41 PM
RE: HP 10bii+ Margin/Markup bug - Gamo - 03-24-2021, 02:09 AM
RE: HP 10bii+ Margin/Markup bug - Gamo - 03-24-2021, 02:42 AM
RE: HP 10bii+ Margin/Markup bug - ijabbott - 03-25-2021, 10:53 PM
RE: HP 10bii+ Margin/Markup bug - Gamo - 03-26-2021, 07:15 AM
RE: HP 10bii+ Margin/Markup bug - Gamo - 03-26-2021, 09:54 AM
RE: HP 10bii+ Margin/Markup bug - Rick314 - 03-27-2021, 07:32 PM
RE: HP 10bii+ Margin/Markup bug - Rick314 - 03-28-2021, 12:39 AM
RE: HP 10bii+ Margin/Markup bug - ijabbott - 03-28-2021, 12:30 PM
RE: HP 10bii+ Margin/Markup bug - Gamo - 03-29-2021, 01:08 AM
RE: HP 10bii+ Margin/Markup bug - Gamo - 03-29-2021, 04:22 AM
RE: HP 10bii+ Margin/Markup bug - Rick314 - 03-29-2021 04:39 PM
RE: HP 10bii+ Margin/Markup bug - Rick314 - 03-29-2021, 08:08 PM
RE: HP 10bii+ Margin/Markup bug - ijabbott - 03-30-2021, 07:51 AM
RE: HP 10bii+ Margin/Markup bug - Rick314 - 03-30-2021, 05:00 PM
RE: HP 10bii+ Margin/Markup bug - Gamo - 04-01-2021, 12:55 PM
RE: HP 10bii+ Margin/Markup bug - Rick314 - 04-01-2021, 04:38 PM
RE: HP 10bii+ Margin/Markup bug - Gamo - 04-08-2021, 07:01 AM
RE: HP 10bii+ Margin/Markup bug - Rick314 - 04-10-2021, 06:26 PM
RE: HP 10bii+ Margin/Markup bug - Gamo - 04-11-2021, 02:54 AM
RE: HP 10bii+ Margin/Markup bug - Gamo - 04-22-2021, 07:10 AM



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