Second Derivative Test, Concavity and Inflection Points