Power and Resonance in Alternating-Current Circuits