Calculus 2 · Integration by parts and trigonometric integrals
Alternating signals need a steady value that does the same work, and this comes from averaging the square of the signal.