420
submitted 1 year ago by Toes@ani.social to c/196@lemmy.blahaj.zone
you are viewing a single comment's thread
view the rest of the comments
[-] cRazi_man@lemm.ee 7 points 1 year ago

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.

[-] Razzazzika@lemm.ee 14 points 1 year ago

... 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

[-] SmartmanApps@programming.dev 1 points 8 months ago

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.

[-] Razzazzika@lemm.ee 1 points 8 months ago

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@programming.dev 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).

load more comments (4 replies)
load more comments (7 replies)
this post was submitted on 03 Dec 2023
420 points (100.0% liked)

196

16597 readers
2000 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