7. Find both the maximum value and the minimum value of
on the interval [0, 3].
Given function is
Now, by hit and trial let first assume x = 2
Hence, x = 2 is one value
Now,
which is not possible
Hence, x = 2 is the only critical value of function
Now, we need to check the value at x = 2 and at the end points of given range i.e. x = 0 and x = 3
Hence, maximum value of function occurs at x = 0 and vale is 25
and minimum value of function occurs at x = 2 and value is -39