Similar to RL circuits, an RC circuit consists of a