• ☭SaltyIcetea☭@lemmy.ml
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    2 days ago

    my calculator disagrees.

    and i would too, this is basically
    6÷2(1+2) = 6÷2×(1+2) = 6÷2×3

    while you resolve brackets first, you still go left to right. you would get 1 if you did
    6÷(2×(1+2))

    the issue is the missing multiplication sign between the 2 and the brackets, thats why i always write them even if it is not strictly required

    • ChaoticNeutralCzech@feddit.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 day ago

      CASIO calculators say 1, and I think it’s more intuitive with “÷2π” being equivalent to “÷(2×π)” rather than “÷2×π”. It took me a while to figure out why my results were almost but not quite one order of magnitude wrong after I was forced to switch to TI. Obviously nobody in high school or uni wrote ÷ (or Czech :) on paper, it was all fractions, but even on “natural mode” calculators I’d use the ÷ key for simple denominators to save vertical space.

    • morphballganon@mtgzone.com
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      6
      ·
      2 days ago

      you still go left to right

      Unless there’s implied multiplication, which there is. Then you do that before the explicit division.