When is the restoring force of a spring equal to zero?