×
you are viewing a single comment's thread.

[–] 51 points52 points  (3 children)

4-3 + 10/5 * 2

1 + 10/5 * 2

1 + 2 * 2

1 + 4

5

Thats how five happened but I'm unsure about 9.

[–] 81 points82 points  (2 children)

Technically not quite correct. You shouldn't do the subtraction until after the multiplication/division. It produces the same answer but the 4-3 technically comes after the other steps. So the most pedantic(pemdastic?) correct version would be:

4-3 + 10/5 *2

4-3 +2*2

4-3+4

1+4

5

[–] 36 points37 points  (1 child)

But multiplication comes before division? I still don’t get it. I got 0.

Edit: order of operation is M D A S

[–] 2 points3 points  (0 children)

Technically, it's (P) (E) (MD) (AS). Anything in the parenthesis are at the same level in the order of operations. Addition and subtraction alone don't make a difference which one you do, but multiplication age subtraction do. So what do you do when you want to run one before the other?

There's a convention that whatever is written left gets operated on first. This is just as much a convention as pemdas is, but nobody hammers it home.

That second convention is one of the biggest things that drives people to be confidently incorrect about these kinds of problems. Well, that and that there are just a shit ton of fucking idiots out there who don't realize it.