09 April 2023

Problem

Found this on Facebook and, apparently, got it wrong.

48÷8(14-8)

Never mind that the notation is jacked.

I PEMDAS'd it and got...


Thinking that M gets done before D...

48/8*(14-8)

48/8*6

48/48

1

But, according to spreadsheets and other comments it's.

48/8*(14-8)

48/8*6

6*6

36

This, apparently, is because the PE, MD and AS are grouped and go left to right.

This kind of confusion only happens when I get math in the abstract and never with a practical question.

1 comment:

  1. I like what you say there "never with a practical question". I wrote code for a (large) number of years, and the order of operations is something everyone carefully studied, but I always overused parentheses so that someone debugging the code would know not simply the calculations the way they were addressed by the code, but also the _intent_ - programmers make mistakes.
    -Don R.

    ReplyDelete

You are a guest here when you comment. This is my soapbox, not yours. Be polite. Inappropriate comments will be deleted without mention. Amnesty period is expired.

Do not go off on a tangent, stay with the topic of the post. If I can't tell what your point is in the first couple of sentences I'm flushing it.

If you're trying to comment anonymously: You can't. Log into your Google account.

If you can't comprehend this, don't comment; because I'm going to moderate and mock you for wasting your time.