I have seen several people saying the order operation is

  • Brackets/Parenthesis
  • Orders (roots and powers)
  • Divisions
  • Multiplications
  • Subtractions
  • Additions

But I was taught it as

  • Brackets/Parenthesis
  • Roots and powers, left to right (independently of the exact operation)
  • Divisions and multiplications, left to right (independently of the exact operation)
  • Subtractions and additions, left to right (independently of the exact operation)

So, what order were you taught and/or use today?

  • heh@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    14 hours ago

    It’s because in any higher level math these rules aren’t needed. Everyone just uses brackets(and mathematical notation) to clearly define an order of operations. There’s no confusion as you’ll never see something potentially ambiguous like “x * y / z / a” .

    And even if you did, the division operators would likely be horizontal lines to make it clear what is being divided.

    • MatSeFi@lemmy.liebeleu.de
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      6 hours ago

      Right the brackets … and functional notation…

      Just had a quick read on wikipedia s order of operations an now I know why I can not remember any more… Every peace of software does its own Thing so one can not relay on conventions.