A function curve on a closed interval is shown. The function can be modified with some control points. The interval can be modified. The local maximum and minimum values can be shown as well as the enclosing box.
The min and max functions gave erroneous results so I used the list of extrema values for the polynomial function.