Ta có : \(E=\left|x+5\right|+\left|x+2\right|+\left|x-7\right|+\left|x-8\right|=\left(\left|x+5\right|+\left|8-x\right|\right)+\left(\left|7-x\right|+\left|x+2\right|\right)\)
\(\ge\left|x+5+8-x\right|+\left|7-x+x+2\right|=22\)
Dấu "=" xảy ra khi \(\begin{cases}-5\le x\le8\\-2\le x\le7\end{cases}\) \(\Rightarrow-2\le x\le7\)
Vậy MIN E = 22 khi \(-2\le x\le7\)