Comment on A fake Facebook event disguised as a math problem has been one of its top posts for 6 months

<- View Parent
HereIAm@lemmy.world ⁨5⁩ ⁨days⁩ ago

Except it does matter. I left some examples for another post with multiplication and division, I’ll give you some addition and subtraction to see order matter with those operations as well.

Let’s take:
1 + 2 - 3 + 4

Addition first:
(1 + 2) - (3 + 4)
3 - 7 = -4

Subtraction first:
1 + (2 - 3) + 4
1 + (-1) + 4 = 4

Right to left:
1 + (2 - (3 + 4))
1 + (2 - 7)
1 + (-5) = -4

Left to right:
((1 + 2) - 3) + 4 (3 - 3) + 4 = 4

source
Sort:hotnewtop