Once you have a list of all the posible maximums and minimums (i.e., critical values), plug each one into the original function. Whichever one yields the greatest value is the absolute maximum; whichever one yields the smallest value is the absolute minimum.