The equation of SHM of a particle is d^2y/dt^2+ky=0