12. Find the maximum and minimum values of
Given function is
So, values of x are
These are the critical points of the function
Now, we need to find the value of the function at and at the end points of given range i.e. at x = 0 and
Hence, at function attains its maximum value and value is in the given range of
and at x= 0 function attains its minimum value and value is 0