Finding Extrema on a Closed Interval

Here areĀ 2 examples of finding the maximum and minimum points on an interval.