Stability via the Liapunov function with a discontinuous derivative