A function f:R→R is defined as f(x)=−x3+3x2−2x+4. Which of the following is true about the function f(x)?