• cRazi_man@lemm.ee
    link
    fedilink
    arrow-up
    6
    ·
    9 months ago

    Ah damn it. It took me ages to find a calculator app that fits my needs… And now I find out it works like the one on the right.

    • Razzazzika@lemm.ee
      link
      fedilink
      arrow-up
      13
      ·
      9 months ago

      … the one on the right is correct… that’s a jank ass calculator on the left that doesn’t know how to do order of operations 8/2×(2+2) 8/2x4 4x4 16

      • force@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        9 months ago

        There isn’t a multiplication symbol though. By your logic something like 8÷2x would mean (8÷2)*x because order of operations

        Or if you read 8÷2√x as (8÷2)*√x

        Just notate 8÷2(2+2) as 8÷2x; x=(2+2) and you get it, you can substitute any complete expression with a variable in an equation and the logic stays the same.

    • DrDominate@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      9 months ago

      Hiper Calc is the calculator app that I use. It’s very good. When I ran this equation, it actually notified me how the operands should be grouped (weak or strong) and provided two answers. Honestly the whole issue can be avoided if you use more parentheses