In an a.c. circuit