For which x does the function $f(x) = x^3-6x^2-5x+5$ assume its maximum value on the interval $[-5,5]$?
The critical points for this function are $\frac{12 + \sqrt{204}}{6}$ and $\frac{12 - \sqrt{204}}{6}$. The end points are -5 and 5.
The maximum value is solved to be for $\frac{12 - \sqrt{204}}{6}\approx-0.38$.
However when I plug in for $x=0$, the value is larger than that at $-0.38$.
Why?
