Find the absolute maximum value and the absolute minimum value of the following functions in the given intervals:
(i) (ii)
(iii)
(iv)