Local minima

This is a small exercise about finding local minima of polynomials.

I have some problems with the answer section. Ideally I would like the user to list the local minima and the local maxima.

The relevant video is
http://www.khanacademy.org/math/calculus/v/calculus--maximum-and-minimum-values-on-an-interval