this post was submitted on 03 Dec 2023
420 points (99.8% liked)

196

16597 readers
1688 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 year ago (3 children)

Ah damn it. It took me ages to find a calculator app that fits my needs..... And now I find out it works like the one on the right.

[–] [email protected] 13 points 1 year ago (3 children)

... the one on the right is correct.... that's a jank ass calculator on the left that doesn't know how to do order of operations 8/2×(2+2) 8/2x4 4x4 16

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (1 children)

There isn't a multiplication symbol though. By your logic something like 8÷2x would mean (8÷2)*x because order of operations

Or if you read 8÷2√x as (8÷2)*√x

Just notate 8÷2(2+2) as 8÷2x; x=(2+2) and you get it, you can substitute any complete expression with a variable in an equation and the logic stays the same.

[–] [email protected] 2 points 1 year ago (1 children)

You know sometimes both are correct.

[–] SmartmanApps 1 points 8 months ago

You know sometimes both are correct

Nope. That's what the order of operations rules take care of.

[–] SmartmanApps 1 points 8 months ago (1 children)

the one on the right is correct

No, it isn't.

8/2×(2+2)

...isn't the same thing as 8/2(2+2). You separated the term in the denominator, leading the (2+2) to get flipped into the numerator, hence wrong answer.

[–] [email protected] 0 points 8 months ago (1 children)

That would be 8/(2x(2+2)) if we were keeping it all in the denominator. Multiplication happens in the numerator if there are no parenthesis to distinguish it. If thr equation was written like this:

8


2x(2+2)

Then you would also be correct, but I have to respectfully disagree with your analysis.

[–] SmartmanApps 1 points 8 months ago* (last edited 8 months ago)

That would be 8/(2x(2+2)) if we were keeping it all in the denominator

(2x(2+2)) is the same thing as 2(2+2)

I have to respectfully disagree with your analysis

Which means you disagree with how Maths textbooks teach how to do this (see previous link).

[–] [email protected] 4 points 1 year ago (1 children)

Hiper Calc is the calculator app that I use. It's very good. When I ran this equation, it actually notified me how the operands should be grouped (weak or strong) and provided two answers. Honestly the whole issue can be avoided if you use more parentheses

[–] SmartmanApps 1 points 8 months ago

the whole issue can be avoided

...by following all the order of operations rules

[–] [email protected] 2 points 1 year ago

HP Prime, king of all. Or if you prefer open source NumWorks.