When a particle of mass m is attached to a vertical spring of spring constant k and released, its motion is described by y(t)=y0sin2ωt , where ' y ' is measured from the lower end of unstretched spring. Then ω is :
a. 21y0g
b. y0g
c. 2y0g
d. y02g