when can displacement be equal to distance?