absolute extrema at endpoints.mp4