Example: Equation of Motion

An object is undergoing simple harmonic motion. The displacement as a function of time is shown in the graph on the right.

Question:

Write down the expression for the equation of motion of this object.

Answer: