An object attached to a coiled spring is pulled down a distance, lal, from its rest position and then released. Assuming that the motion is simple harmonic with period T,
write a function that relates the displacement, d, of the object from its rest position after t seconds. Assume that the positive direction of the motion is up.
a=3; T =8 seconds