• @[email protected]
    link
    fedilink
    English
    51 year ago

    I just used the calc on window… it cannot respect order of operation. Any simple calculator from 1980 was better than that

    • @[email protected]
      link
      fedilink
      English
      21 year ago

      It is also frustrating when different calculators have different orders of operations and dont tell you.

      • It is also frustrating when different calculators have different orders of operations and dont tell you.

        Yeah, but to be fair most of them do tell you the order of operations they use, they just bury it in a million lines of text about it. If they could all just check with some Maths teachers/textbooks first then it wouldn’t be necessary. Instead we’re left trying to work out which ones are right and which ones aren’t. Any calculator that gives you an option to switch on/off “implicit multiplication”, then just run as fast as you can the other way! :-)

  • @[email protected]
    link
    fedilink
    English
    6
    edit-2
    1 year ago

    I’ve never seen a calculator that had bracket keys but didn’t implement the conventional order of operations.

    But anyway, I’m on Team RPN.

  • @[email protected]
    link
    fedilink
    English
    14
    edit-2
    1 year ago

    The underlying truth of this joke is: Programming syntax is less confusing than mathematical syntax. There are genuinely ambiguous layouts of syntax in math (to a human reader that hasn’t internalized PEMDAS, anyways) whereas you get a compilation error if ANYTHING is ambiguous in programming. (yes, I am WELL aware of the frustrations of runtime errors)

    • @[email protected]
      link
      fedilink
      English
      21 year ago

      Also: sometimes, a mathematician just has to invent some concept or syntax to convey something unconventional. The specific use of subscript/superscript, whatever ‘phi’ is being used for, etc. on whatever paper you’re reading doesn’t have to correlate to how other work uses the same concepts. It’s bad form, but sometimes its needed, and if useful enough is added to the general canon of what we call “math”. Meanwhile, you can encapsulate and obfuscate things in software, sure, but you can always get down to the bedrock of what the language supports; there’s no inventing anything new.

    • @[email protected]
      link
      fedilink
      English
      71 year ago

      Internalized PEMDAS without knowing it’s literally the same thing as BODMAS is exactly the problem!

        • @[email protected]
          link
          fedilink
          English
          4
          edit-2
          1 year ago

          Same as PEMDAS, except:

          Parentheses -> Bracket

          Exponent -> Order

          Multiplication <-> Division

          BODMAS

          • @[email protected]
            link
            fedilink
            English
            21 year ago

            I learned it as “BEDMAS”

            Brackets

            Exponents

            (You can guess the rest)

            But when I learned BEDMAS, my teacher directed us to do implied multiplication before other multiplication/division. Which, as far as I’m aware, is mathematically correct according to the proper order of operations (instead of whatever acronym summary you learned).

            Before I get "umm. Acktually"d … I know that’s not the full picture of the order of operations as it should be in mathematics. But for the limited scope I learned of algebra from highschool, AFAIK, this is correct to the point that I have understanding of. I’m not a mathematician, and I work with computers all day long and they do the math for me when I need to do any of it. So higher understanding in my case is not helpful.

            • AFAIK, this is correct to the point that I have understanding of. I’m not a mathematician

              I’m a Maths teacher/tutor. The actual rules are Terms and The Distributive Law. There is no such thing as “implicit multiplication” (which is usually people lumping the 2 separate rules together as one and ending up with wrong answers).

              • @[email protected]
                link
                fedilink
                English
                4
                edit-2
                1 year ago

                You have the right idea, and you are right in some regards. Generally the order of magnitude is an order of 10. That is, 1350 could be represented as 1.350×10³, so the order of magnitude is the third order of 10, which is 10³ (i.e. some value x×1000).

            • @[email protected]
              link
              fedilink
              English
              3
              edit-2
              1 year ago

              Order is often used to describe exponents when talking about functions and other mathematical properties. In a lot of cases, it’s also equivalent to a degree. For example, a function y = x² - 9 is a second-order/degree polynomial.

              Alternatively, one could find a second-order rate of a reaction, which means the rate of reaction is proportional to the square of a solution’s concentration.

      • @[email protected]
        link
        fedilink
        English
        2
        edit-2
        1 year ago

        I mean … yea. The exact problem is math is not taught correctly. Order of operations make total logical sense for what the operations are doing.

        The problem only arises when people don’t come to all of the appropriate conclusions on their own.

  • Fat Tony
    link
    fedilink
    English
    10
    edit-2
    1 year ago

    My calculator says -2² = -4, so yeah…

    • @[email protected]
      link
      fedilink
      English
      81 year ago

      Isn’t the “-” order of operations the same as a multiply ? I think I learned powers take priority over the “-” so your calculator would be right.
      But either way if it can cause confusion you should use parentheses.

      • @[email protected]
        link
        fedilink
        English
        51 year ago

        Every calculator I’ve used has separate negative and subtraction keys for this purpose. There is no order of operations to follow, it’s just a squaring a number

        • @[email protected]
          link
          fedilink
          English
          4
          edit-2
          1 year ago

          I learned negative as being a separate operation where we need to apply the order of operations. I think it was something like : -2 is a diminutive for -1x2 so it uses the order of operations of a multiplication.
          My calculator is the official one used in schools in France (ti-83 premium ce) and it says -2^2 = -4 with the negative key. I don’t think it would make a mistake in such a simple concept.

          But whatever these concepts can change depending on the field, country, level of education. What I mean is : it’s unclear, so use parentheses. So (-2)^2 or -(2^2) are the correct ways to write it.

          • I think it was something like : -2 is a diminutive for -1x2

            Correct. Things that are usually left out of Maths expressions are plus signs, ones as multipliers/indices, and un-needed brackets. e.g. I could more fully write this as -1(4)², but that just simplifies to -4²

    • @[email protected]
      link
      fedilink
      English
      41 year ago

      I would never write -n². Either ‐(n²) or (-n)². Order of operations shouldn’t be some sort of gotcha to trick people into misinterpreting you, it’s the intuitive reading of a well constructed mathematical expression.