\begin{circuit}0

%Capacitor
\P1 
\nl \spring1 {$R$} r
\- 1 r \.1

% resistor
\- 2 d
\nl \C1 {$C$} d
\- 3 d \.2

% Conectores de entrada
\htopin P1
\cc \connection1 {$-$} c l
\atpin P1
\connection2 {$+$} c l
\atpin P1 \shift -1.5 -4
\put{$v_i(t)$}

% Conectores de salida
\atpin .1 \- 1 r
\connection3 {$+$} c r
\atpin .2 \- 1 r
\cc \connection4 {$-$} c r
\atpin .1 \shift 1 -4
\put{$v_o(t)$}



\end{circuit}