For a particle executing SHM, the kinetic energy (K) is given by K=K0cos2ωt . The equation for its displacement is
K0mω212sinωt
2K0mω212sinωt
2ω2mK012sinωt
2K0mω12sinωt
KEmax=K0=12mω2a2;y=asinωt