Restoring force vs displacement problem explanation