Find nature of turning points using second derivative (#540)

Find nature of turning points using second derivative (#540)

Use f′′(x)f''(x): if f′′(x)>0f''(x)>0 local min, f′′(x)<0f''(x)<0 local max, f′′(x)=0f''(x)=0 inconclusive.