• agamemnonymous@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    7 months ago

    P E M D A S

    vs

    P E M/D A/S

    The latter is correct, Multiplication/Division, and Addition/Subtraction each evaluate left to right (when not made unambiguous by Parentheses). I.e., 6÷2×3 = 9, not 1. That said, writing the expression in a way that leaves ambiguity is bad practice. Always use parentheses to group operations when ambiguity might arise.