Talk:Programmed Math/Order of operations

Following the BODMAS method the expression 3-2+1 results in first adding the 2+1 to get 3 and then subtracting 3-3 to get 0. Entering this expression into an algebraic calculator results in an answer of 2. How can this be?

A more accepted order of operations (and one that gets the same answer as a calculator) follows:

Parentheses (and other grouping symbols such as a fraction bar, absolute value, brackets, etc.); Exponents; Multiplication and Division, left to right; Addition and Subtraction, left to right;

...resulting in the memory aid...

P E MD AS