relative extrema f(x)=(x-1)^3 (x-2)