![y=x^5-3\\ y'=5x^4\\\\ 5x^4=0\\ x=0\\ 0\in [-2,1]\\\\ y''=20x^3\\\\ y''(0)=20\cdot0^3=0](https://img.qammunity.org/2016/formulas/mathematics/high-school/nefbajra4cgmark9k3gyt3c1s278c0ykl9.png)
The value of the second derivative for

is neither positive nor negative, so you can't tell whether this point is a minimum or a maximum. You need to check the values of the first derivative around the point.
But the value of

is always positive for

. That means at

there's neither minimum nor maximum.
The maximum must be then at either of the endpoints of the interval
![[-2,1]](https://img.qammunity.org/2016/formulas/mathematics/high-school/t9vir91bb9iziffy9rpducxvsg0gu7qo3e.png)
.
The function

is increasing in its entire domain, so the maximum value is at the right endpoint of the interval.
