Answer:
The equation of motion is

Step-by-step explanation:
The general equation of motion of a SHM motion is given by

where,
A is the amplitude of the motion
ω is the natural frequency of the system
Since amplitude is defines as the maximum displacement of the object from the mean position we have

Now the time period is related to the natural angular frequency as

Thus the equation of motion becomes

the initial phase can be assumed to be zero thus the equation becomes
