Calculates the extrema of an explicit function within an interval of its domain.
The function
The interval
Calculates the extrema of an explicit function within an interval of its domain.