The particle executing simple harmonic motion has a kinetic energy of K0​cos^2 ωt. The maximum values of the potential energy and the total energy are respectively