Find the maximal and minimal value of the function u = ln x