nonlocal equations, vibrating string, variational methods