Post Reply 
HP35s Revisited Bug # 14
02-21-2015, 10:33 PM (This post was last modified: 02-21-2015 10:35 PM by Thomas Ritschel.)
Post: #12
RE: HP35s Revisited Bug # 14
(02-21-2015 09:11 PM)Tugdual Wrote:  Hmm would it be related to opening parenthesis?

Seems to be.

I played with using different equations for the second step.
First EQN is yours:
Code:
-R*156.25/(X*1.77951304201-208.333333334)

And then, for example, this as the second equation (using A=1, B=2, C=3):
Code:
-A*2*(B*C-1)+B
It will ask for A, C, and B (in this order), but yields 2805.5617 instead of -8.

If this second equation is run alone, then it asks for A, B, and C (in this order) and correctly returns -8.
Obviously the equations are evaluated from left to right.

Let's change the second equation into this one:
Code:
-A*2*(B*C-1)+(B)
Now it only asks for A and C and yields 2336.6348 (wrong again).

Quite obviously related to the use of parentheses...
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP35s Revisited Bug # 14 - Tugdual - 02-21-2015, 08:45 AM
RE: HP35s Revisited Bug # 14 - Tugdual - 02-21-2015, 11:24 AM
RE: HP35s Revisited Bug # 14 - Tugdual - 02-21-2015, 07:51 PM
RE: HP35s Revisited Bug # 14 - Tugdual - 02-21-2015, 09:11 PM
RE: HP35s Revisited Bug # 14 - Thomas Ritschel - 02-21-2015 10:33 PM



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