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.
`x^2-1=0 , x=+-1`
Now the critical number -1 is not in the interval (0,4).
So evaluate the function at the critical number 1 and at the end points of the interval (0,4).
So, the function has absolute minimum=1-`pi` /2 at x=1
function has no absolute maximum , see graph
Pl. note correction in absolute maximum.
The function has absolute maximum=
4-2arctan(4)=1.34836 at x=4