5. Find the absolute maximum value and the absolute minimum value of the following
functions in the given intervals:
Given function is
Hence, 0 is the critical point of the function
Now, we need to see the value of the function at x = 0 and as we also need to check the value at end points of given range i.e. x = 2 and x = -2
Hence, maximum value of function occurs at x = 2 and value is 8
and minimum value of function occurs at x = -2 and value is -8