(a) A DC battery of 120 V is connected across a resistor of 10 Ω. How much energy is dissipated in the resistor in 5 s?
(b) An AC source which produces a peak voltage of 169.7 V is connected across a resistor of 10 Ω. How much energy is dissipated in the resistor in 5 s?