The function $f(x) = -2 x^3 + 30 x^2 - 96 x + 3$ has one local minimum and one local maximum.
This function has a local minimum at $x$ equals with value
and a local maximum at $x$ equals with value