Finding Concavity From Second Derivative