Global Extrema of Functions