5.4 Maximum and Minimum on an Interval