Find the absolute extrema of on