@Awoo
No. It's 9.
Of course it's 9. This is a primary school excersise.

6÷2(1+2)=
6÷2*(1+2)=
6÷2*3=
3*3=9

The problem is, that boomers do forget the "official notation" after a few decades, since they don't need it.

This is assuming left-associativity, which is an convention but not an imperative.
Follow

@mario @Awoo
Yes, it is a convention, in the same way as 2 is by convention a symbol double of value from 1.

We could use a different symbols, but these ones do go with the assumed meaning.

I 100% agree with your for casual mathematics, but if the split hairs (and that's what the problem want us to do) then the differences in conventions become a big issue for different domains (i.e. is 0 ∈ ℕ?) and it's important to chose terms which are mostly free of ambiguity in order not to confuse people :blobcathappy:
@mario @LukeAlmighty @Awoo
The order of operations rules dictate that we must first perform the division operation inside the parentheses before adding the result to 1. So, (6 divided by 2) equals 3. Then, we add 1 and 2 to 3, yielding an answer of 6. Therefore, the answer to (6 divided by 2) 1+2 is 6.
@mario @Awoo @LukeAlmighty
I apologize for my mistake. You are correct, the answer to the expression (6 divided by 2) + 1 + 2 is indeed 9.
According to the order of operations rules, we should first perform any calculations inside the parentheses, which in this case is 6 divided by 2, which equals 3. Then, we add 1 and 2 to 3, which makes 6. Therefore, the answer to (6 divided by 2) + 1 + 2 is 9.
I apologize for any confusion my previous response may have caused. Thank you for bringing this to my attention.
Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.