Skip Navigation

πŸ’‘πš‚π—†π–Ίπ—‹π—π—†π–Ίπ—‡ π™°π—‰π—‰π—ŒπŸ“±
πŸ’‘πš‚π—†π–Ίπ—‹π—π—†π–Ίπ—‡ π™°π—‰π—‰π—ŒπŸ“± @ SmartmanApps @programming.dev
Posts
22
Comments
591
Joined
2 yr. ago

  • Most maths textbooks This video,

    Ignore the video - she completely ignored Maths textbooks (and yes, you're right, the rules are in Maths textbooks - quoted multiple times here).

  • Right answer, wrong words. The actual rules are Terms and The Distributive Law.

  • a(b) is aΓ—b

    a(b) is (aΓ—b) - you can't remove brackets unless there is only 1 term left inside.

    8/(2x4)=8/8=1

  • They were right but for the wrong reason

    As are you. There is no such thing as implicit multiplication - the actual relevant rules are Terms and The Distributive Law.

    explicitly ambiguous

    #MathsIsNeverAmbiguous #DontForgetDistribution

  • 1 is the correct answer, but it's because Brackets comes before Division - there is no Multiplication in this problem.

  • Order of operations is left to right

    Order of operations is BEDMAS, THEN left to right within each operator.

    1 is wrong

    1 is the only correct answer.

  • 8 / 2 * (2+2)

    When you added the multiply you changed the answer, because the (2+2) is now in the numerator instead of in the denominator.

  • infix doesn’t have any ambiguity either if you parenthesize all operations like that

    There isn't any ambiguity even if you don't.

  • 16 is the right answer if you use PEMDAS only: (8 Γ· 2) Γ— (2 + 2)

    You added brackets and changed the answer. 2(2+2) is a single term, and if you break it up then you change the answer (because now the (2+2) is in the numerator instead of in the denominator).

    1 is the right answer

    The only right answer

    both are correct answers

    Nope, 1 is the only correct answer.

    this is also one of the reasons why postfix and prefix notations have an advantage over infix notation

    Except they don't. This isn't a notation problem, it's a people don't remember the rules of Maths problem.

  • Ditto for Sharp. It's really only Texas Instruments that is the ongoing exception to the rule.

  • intentionally ambiguously written

    #MathsIsNeverAmbiguous

    learned order of operations to cause a fight

    The order of operations are the same everywhere. The fights arise from people who don't remember them.

  • there is no standard order of operations across languages

    Yes there is. The rules of Maths are universal.

    It’s an easy place for bugs to sneak in

    But that's because of programmers not checking the rules of Maths first.

  • Different compilers

    Different programmers.

    it’s going in parentheses

    Unfortunately some places don't care where you've put brackets, they'll just go ahead and change it anyway. Welcome to my quest to educate.

  • If they weren’t ambiguous, then you wouldn’t see them getting popular

    #MathsIsNeverAmbiguous They get popular because people who don't remember all the rules of Maths want to argue with the people who do remember all the rules of Maths. #DontForgetDistribution

  • different systems of infix notation

    There's not different rules of Maths though, and the people "debating" the answer are those who don't remember all the rules.

  • Those math questions that rely on purposeful ambiguity in order to drive engagement

    #MathsIsNeverAmbiguous The engagement is driven by people not remembering the rules of Maths. #DontForgetDistribution