Comment on A - ( B x C ) + ( D x E ) = A - ( B x C ) - ( D x E ) if A > B + C + D + E

<- View Parent
SmartmanApps@programming.dev ⁨16⁩ ⁨hours⁩ ago

The brackets are used to make the equation look cleaner

No, they’re used to show deviations from the usual order of operations. If I want 2+3x4 to equal 20, then I have to write (2+3)x4.

10 - 1 + 1 = 8 doing the addition first

No it isn’t. 10+1-1=11-1=10 is addition first. Note same answer, You did 10-(1+1) - you added brackets which changed the answer, thus a wrong answer

10 - 1 - 1 = 8 regardless of order because it is all subtraction

Not all of it. You’re forgetting the 10 is really +10. -10-1-1 would be all subtraction. +10-1-1 is addition and subtraction.

it is not the same regardless of order

Yes it is! 😂 It is always the same regardless of order, as I have just shown you, again.

10-1+1=9+1=10

10+1-1=11-1=10

-1+1+10=0+10=10

1-1+10=0+10=10

1+10-1=11-1=10

-1+10+1=9+1=10

you do it left to right making it incorrect to do 1-1 first.

It’s NOT incorrect to do 10-1+1. It IS incorrect to do 10-(1+1), which is what you did

By doing it out of order and incorrectly I was able to make my statement true

It was solely because you did it incorrectly. Order doesn’t change anything.

source
Sort:hotnewtop