Post Reply 
HP 10bii+ Margin/Markup bug
03-29-2021, 08:08 PM
Post: #19
RE: HP 10bii+ Margin/Markup bug
I want to digress to a related Big Picture topic. The classic software development lifecycle is Requirements, Design, Coding, Test, Debug, Release, Support. Detailed requirements are key to minimizing iteration in the remaining steps. These 12 requirements are the foundation of this problem, and what I am guessing the calculator firmware engineers never produced.
(03-23-2021 09:05 PM)Rick314 Wrote:  MU to MAR
MAR to MU
MU, CST to PRC, MAR (in either order)
MU, PRC to CST, MAR (in either order)
CST, PRC to MU, MAR (in either order)
CST, MAR to MU, PRC (in either order)
PRC, MAR to MU, CST (in either order)
Once these requirements are clear multiple designs present themselves and the simplest one can be implemented. I chose a Solver solution. I think any calculator with programmable USER keys can do similarly using the following design (pseudo-code) for each of the 4 keys involved.
Code:
if <this variable can be solved for by non-zero values in the other 3>
then begin
   <solve for this variable and save its value>;
   if <any other zero-valued variables can now be solved for>
   then <solve for each of them too>;
   <recall this variable's value to the display>;
end else
   <save the user-entered value to this variable>;
Again, my point is that the calculator firmware engineers could have made the MU CST PRC MAR keys work better by realizing and solving the 12 cases that actually make sense.
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)