421
Glitch in the matrix
(ani.social)
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
The problem is that there's no "external" parentheses to really tell us which is right:
(8 / 2) * 4
or8 / (2 * 4)
The amount of comments here shows how much debate this "simple" thing generates
When there are no parentheses, you process left to right on the same tier of operations. That's how it's always been processed.
Afaik the order of operations doesn't have distributive property in it. It would instead simply become multiplication and would go left to right and would therefore be 16.
The Distributive Law applies to all bracketed terms that have a coefficient. It's literally the first step in solving brackets.
If you agree that parenthesis go first then the equation becomes 8/2x4. Then it's simply left to right because multiplication does not take precedence over division. What's the nuanced talk? That M comes before D in PEMDAS?
Finally someone in here who knows math. Thank you.
My observation was mainly based on this other comment
https://programming.dev/comment/5414285
No, it becomes 8/(2x4). You can't remove brackets unless there's only 1 term left inside. Removing them prematurely flips the 4 from being in the denominator to being in the numerator, hence the wrong answer.
The Distributive Law tells us it's the latter.