concavity of cubic polynomial

concavity of a cubic polynomial 

 

 

concavity of a cubic curve x^3-3x^2-3