On Sun, Mar 11, 2012 at 10:37 AM, Sean Breheny wrote: > In elementary school (US) I was taught: PEMDAS =3D Please Excuse My Dear > Aunt Sally > > or > > Parentheses > Exponents > Multiplication > Division > Addition > Subtraction > > Although, I think this is misleading at best. For example, it suggests > that addition should precede subtraction, as in: > > 3-2+4 would be 3-(2+4) rather than (3-2)+4. As others have pointed > out, this has to do with association and not order of operations. > > Sean I was taught the same, however my math teacher pointed out that addition and subtraction have the same priority. --=20 Martin K. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .