• Hex [he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    19 hours ago

    My bad on typing 6 as the final number, typo.

    I think the image is discussing the two ways most people interpret the (deliberately slightly obtuse) equation 6 / 2(1+2) Following BEDMAS BOMDAS PEMDAS or however you call it in your area as written, the correct interpretation is interpretation #2, which resolves to 9,

    However many people also interpret the implitic multiplication in 2(1+2) to have higher priority, or makes the 2 and () into one unit, as if put into Parentheses, which leads to interpretation #1, which resolves to 1.

    The real answer is to make the original question less obtuse, but any parsing algorithm correctly given the rules of mathematical notation would resolve it to 9