Differentiate, 2nd derivative and stationary point from equation