How are you gonna write 2 + 2 ÷ 2 with repeated addition?
You don't, because the second 2 is associated with a Division that has to be done before the addition. Maybe go back to school and learn how to do Maths 🙄
That doesn’t mean it has to be expanded first.
Yes it does. Everything has to be expanded before you do the addition and subtraction, or you get wrong answers 🙄
2+3x4=2+3+3+3+3=2+12=14 correct
2+3x4=5x4=5+5+5+5=20 wrong
You could expand 2 + 2 × 3 as (2+2)+(2+2)+(2+2)
Says someone who can't tell the difference between (2+2)x3=12 and 2+2x3=8 🙄
you are unable to tell me what mathematical law prohibits it
The order of operations rules 😂
reverse polish notation wouldn’t work as it does
It works because it treats every operation as bracketed without writing the brackets. Also that's only a Maths notation, not the Maths itself.
In RPL, 2 2 + 3 × is 12
Because the way it calculates that is (2+2)x3, not complicated. Same order of operations rules as other Maths notations - just a different way of writing the same thing
If you had to expand multiplication first, how would it work?
It works because Brackets - 2 2 + = (2+2) - are before Multiplication
The same can be done with prefix notation
Another Maths notation, same rules of Maths
Different programming languages have different orders of operations
Maths doesn't
those languages work just fine
They don't actually. Welcome to most e-calcs give wrong answers because the programmers failed to deal with it correctly.
Your argument amounts to saying that it makes the most sense to do multiplication before addition
No, my argument is it's a universal rule of Maths, as found in Maths textbooks 🙄
that only gives you a convention, not a rule
Left to right is a convention (as is not writing the brackets in RPN). Brackets before Multiplication before Addition are rules.



No we don't. We have another notation which says to do paired operations (equivalent to being in brackets) first.
Because if you don't obey them you get wrong answers 🙄