Toes♀@ani.social to 196@lemmy.blahaj.zone · 11 months agoGlitch in the matrixani.socialimagemessage-square571fedilinkarrow-up1421arrow-down11
arrow-up1420arrow-down1imageGlitch in the matrixani.socialToes♀@ani.social to 196@lemmy.blahaj.zone · 11 months agomessage-square571fedilink
minus-squaresynae[he/him]@lemmy.sdf.orglinkfedilinkEnglisharrow-up2·edit-211 months agoPEMDAS is actually (PE)(MD)(AS). Those that are grouped together have equal precedence and are evaluated left to right. 8 / 2 * (2+2) 8 / 2 * 4 4 * 4 16 Edit to fix formatting, maybe?
minus-square💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱@programming.devlinkfedilinkEnglisharrow-up2·8 months ago 8 / 2 * (2+2) When you added the multiply you changed the answer, because the (2+2) is now in the numerator instead of in the denominator.
PEMDAS is actually (PE)(MD)(AS). Those that are grouped together have equal precedence and are evaluated left to right.
8 / 2 * (2+2)
8 / 2 * 4
4 * 4
16
Edit to fix formatting, maybe?
When you added the multiply you changed the answer, because the (2+2) is now in the numerator instead of in the denominator.