The extrema of a function are very well known as Maxima and minima. Maxima is the maximum and minima is the minimum value of a function within the given set of ranges.
There are two types of maxima and minima that exist in a function, such as: