420
submitted 11 months 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
[-] Razzazzika@lemm.ee 14 points 11 months 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

[-] force@lemmy.world 6 points 11 months ago* (last edited 11 months ago)

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.

[-] Eezyville@sh.itjust.works 3 points 11 months ago

You know sometimes both are correct.

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

You know sometimes both are correct

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

[-] SmartmanApps@programming.dev 1 points 7 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 7 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 7 months ago* (last edited 7 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).

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

196

16423 readers
1948 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