Well I have the expression below can be evaluated in tow different ways according to my knowledge of order of operations:
$$\begin{matrix} 3+8\div2\left(10-2^3\right)-7 \end{matrix}$$
OK my try:
$$\begin{matrix} 3+8\div2\left(10-2^3\right)-7\\=3+8\div2\left(10-8\right)-7\\=3+8\div2\left(2\right)-7\\=3+4\left(2\right)-7\\=3+8-7\\=4 \end{matrix}$$
But when I put it in the calculator it's gave me $(-2)$, so the calculator doesn't divide $8$ by $2$ till multiply $2$ by $(10-8)$ just like this: $3+\dfrac{8}{2(10-2^3)}-7$.
I want to know which one $(-2)$ or $4$ is the correct answer for this expression? And why?