electric generators alternating current rl circuits energy stored 4723832