extreme function

Extrema (Maxima and Minima)