Skip Navigation

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

))<>((

Jump
  • I’m taking about physical, non-graphic scientific calculators from the 1990s.

    Yep, exact same as the calculator in the linked thread. The expression entered was 6Γ·2(1+2).

  • ))<>((

    Jump
  • Order of magnitude?

    It's actually short for "to the order of", as in 2 squared is 2 to the order of 2. i.e. same thing as Exponent or Index.

  • ))<>((

    Jump
  • order?

    It's actually short for "to the order of", as in 2 squared is 2 to the order of 2. i.e. same thing as Exponent or Index.

  • ))<>((

    Jump
  • 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).

  • ))<>((

    Jump
  • 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! :-)

  • ))<>((

    Jump
  • Either ‐(nΒ²) or (-n)Β². Order of operations shouldn’t be some sort of gotcha to trick people into misinterpreting you

    It isn't. With ‐(nΒ²), nΒ² is already a single term, so the brackets aren't needed.

  • ))<>((

    Jump
  • 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Β²

  • ))<>((

    Jump
  • it’s just a squaring a number

    The number being squared is 4, unless you put (-4)Β², otherwise it's 4Β² with a minus sign.

  • ))<>((

    Jump
  • I think I learned powers take priority over the β€œ-”

    Yes, Exponents is the 2nd-highest precedence (after Brackets) - BEDMAS.

  • ))<>((

    Jump
  • A typical scientific calculator didn’t have juxtaposition, so you’d have to enter 6Γ·2(1+2) as 6Γ·2Γ—(1+2)

    That's not true

    you’d get 9 as the answer because Γ· and Γ— have equal precedence and just go left to right

    Well, more precisely you broke up the single term 2(1+2) into 2 terms - 2 and (1+2) - when you inserted the multiplication symbol, which sends the (1+2) from being in the denominator to being in the numerator. Terms are separated by operators and joined by grouping symbols.

  • ))<>((

    Jump
  • ))<>((

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

    I've seen plenty

  • ))<>((

    Jump
  • This is why every calculator should be a RPN calculator

    No, this is why programmers should (re)learn the order of operations rules before writing a calculator.

  • ))<>((

    Jump
  • I just used the calc on window… it cannot respect order of operation

    Yeah, I've tried several times to get Microsoft to fix their calculators. I've given up trying now - eventually you have to stop banging your head against the wall.

  • ))<>((

    Jump
  • Math should be just as deterministic as programming, but it’s not in some situations

    Maths is 100% deterministic for order of operations. The issue is people not following all of the rules. Order of operations thread index