Problem
Finding extrema is a recurring interview task — usually wrapped in some story about "optimising a payoff" or "minimising cost". Strip the story and the math is the same.
Find the absolute maximum and absolute minimum values of
on the closed interval . State the -value(s) where each occurs.