Now to find the absolute extrema of the function , that is continuous on a closed interval, we have to find the critical numbers that are in the interval and evaluate the function at the endpoints and at the critical numbers.
Now to find the critical numbers, solve for x for f'(x)=0.
`2x=-1 , x=-1/2`
Absolute maximum= `sqrt(3)` , at x=-2
Absolute maximum =`sqrt(3)` , at x=1
Absolute Minimum = `sqrt(3)/2` , at x=-1/2