(2) The problem belongs to the scope of derivative solution. The derivative can be obtained by segmentation.
(3) Solve the problem on the basis of problem (2). When the derivative of the function is 0, the corresponding point gets the extreme value, which can be obtained first, and then the maximum value or minimum value can be obtained by comparison.