how about (5-3)x2 + 8(5-2) ?

To me these are really just "puzzles" and do not actually require much mathematical ability.
The best and often only way is to by 'trial and error'.

what is the rule when grouping numbers?
example I want the answer to be 28.
5 - 3 x 2 + 8 x 5 - 2 = 28

I tried
5-(3 x 2) + 8 (5 - 2) but it equaled 23

help

To correctly solve the expression (5-3)x2 + 8(5-2), we need to follow the order of operations, also known as PEMDAS or BODMAS.

The order of operations states that you must first evaluate expressions inside parentheses, then calculate any exponents or powers, followed by multiplication and division (from left to right), and finally addition and subtraction (from left to right).

Let's break down the expression step by step:

1) Start with the parentheses: (5-3)x2 + 8(5-2)
The expression within the first parentheses is 5-3, which equals 2.
The expression within the second parentheses is 5-2, which equals 3.

2) Now substitute those values back into the original expression:
2x2 + 8x3

3) Next, perform the multiplication from left to right:
2x2 = 4
8x3 = 24

4) Finally, add the results of the multiplications:
4 + 24 = 28

Therefore, the correct answer to the expression (5-3)x2 + 8(5-2) is 28.

In the case where you tried 5 - (3 x 2) + 8 (5 - 2) and obtained 23, it seems there was an error in the calculation. Let's go through that step again:

1) Evaluate the parentheses: (3 x 2) = 6 and (5 - 2) = 3.
The expression becomes 5 - 6 + 8(3).

2) Perform the multiplication:
8 x 3 = 24.

3) Now substitute the values back into the expression:
5 - 6 + 24.

4) Next, perform the addition and subtraction from left to right:
5 - 6 = -1.
-1 + 24 = 23.

Thus, the expression 5 - (3 x 2) + 8 (5 - 2) equals 23, not 28.

Remember to carefully follow the order of operations to ensure you get the correct results when evaluating mathematical expressions.