Capacitors and Resistors in Circuits