Why is the average of both $\sin^2 = \frac{1}{2}$ and $\cos^2 = \frac{1}{2}$
I was revising Simple Harmonic motion notes and in the average of Kinetic energy derivation
$$KE = \frac12 k A^2 \cos^2(\omega t)$$
And the solution is given as $\frac{1}{4} kA^2$
I haven't gone that deep in integration help