Applications of Complex Numbers in Circuits