• SSUPII@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    182
    arrow-down
    1
    ·
    8 hours ago

    I feel like I am getting trolled

    Isn’t 17 the actual right answer?

    • marcos@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      44 minutes ago

      Some people insist there’s no “correct” order for the basic arithmetic operations. And worse, some people insist the correct order is parenthesis first, then left to right.

      Both of those sets of people are wrong.

        • NewDark@lemmings.world
          link
          fedilink
          English
          arrow-up
          54
          arrow-down
          1
          ·
          7 hours ago

          I think it’s meant to play with your expectations. Normally someone’s take being posted is to show them being confidently stupid, otherwise it isn’t as interesting and doesn’t go viral.However, because we’re primed to view it from that lens, we feel crazy to think we’re doing the math correctly and getting the “wrong answer” from what we assume is the “confident dipshit”.

          There’s layers beyond the superficial.

          • namingthingsiseasy@programming.dev
            link
            fedilink
            English
            arrow-up
            5
            ·
            3 hours ago

            I fell for it. It’s crazy to think how heavily I’ve been trained to believe everything I see is wrong in the most embarrassing and laughable way possible. That’s pretty depressing if you think about it.

    • pixeltree@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      3
      ·
      7 hours ago

      Inside the parens first, so it becomes 2 + 5*3

      Then tou do multiplication before addition, so 2 + 15

      Then addition, so 17

      • SSUPII@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        18
        ·
        7 hours ago

        Yeah I know that. But I was feeling confused as to why it was here. That’s why I was feeling trolled, because it made me doubt basic math for being posted in a memes community.

        • JackbyDev@programming.dev
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          2
          ·
          7 hours ago

          They did the joke wrong. To do it right you need to use the ÷ symbol. Because people never use that after they learn fraction, people treat things like a + b ÷ c + d as

          a + b
          -----
          c + d
          

          Or (a + b) ÷ (c + d) when they should be treating it as a + (b ÷ c) + d.

          That’s the most common one of these “troll.math” tricks. Because notating as

          a + b + d
              -
              c
          

          Is much more common and useful. Do people get used to grouping everything around the division operator as if they’re in parentheses.