where x is the displacement