Order of Operations
Convention for evaluating expressions: parentheses, exponents, ×/÷, +/−.
- M and D have equal precedence (left-to-right).
- Same for A and S.
- Python -3**2 = -9; (-3)**2 = 9 - subtle.
When to use: Translating equations into code; reading any nested expression.
Example: 5 + 3·2 = 11, not 16. In Python: -3**2 = -9 because ** beats unary minus.