Oscillations

Let be the coordinate of the body. Then . We have

Therefore, . Substitute and complete.