Comment on I dunno
cmhe@lemmy.world 2 weeks agoIn mathematics and computer programming, the order of operations is a collection of conventions about which arithmetic operations to perform first in order to evaluate a given mathematical expression. . These conventions are formalized with a ranking of the operations. The rank of an operation is called its precedence, and an operation with a higher precedence is performed before operations with lower precedence. Calculators generally perform operations with the same precedence from left to right,[1] but some programming languages and calculators adopt different conventions.
SmartmanApps@programming.dev 2 weeks ago
isn’t a Maths textbook
and rules 🙄 Haven’t even got past the first sentence you quoted and it’s already wrong
Rules
May disobey the rules and give wrong answers, like Texas Instruments calculators
Yep, but you cannot invent your own rules 🙄
No it isn’t.
No you can’t, or you get wrong answers, like Texas Instruments calculators
But the rules are universal. You seem to be confusing notation with the rules
Yes it is
We can see for ourselves quite clearly what notation they have used. There’s no mystery or debate about it
The rules of Maths is what gives it a single answer - that’s what they’re for! 😂
Yep, one of which is The Distributive Law, a(b+c)=(ab+ac).