Use the equation of the position to find the potential elastic energy in a Simple Harmonic Motion(SHM). Then, Use the equation of the velocity in a SHM to find the kinetic energy in SHM. Also, What would you need to do to find the elastic constant of a spring?