\begin{circuit}1

%Capacitor
\nl \C1 {1F} d
\- 3 d \P1

\atpin C1t
\- 3 u \P2
\- 2 l

%resistor horizontal
\nl \L1 {1H} . l
\- 2 l \P4

%resistor horizontal
\nl \spring1 {$1\Omega$} l
\- 2 l \P5

% Fuente de tension
\- 2 d
\nl \varU1 {$v(t) = 0$} d

%Cierre del circuito
\vtopin P1
\htopin P1

%Tension resistor
%\atpin spring1l \shift -0.8 0.5
%\put{$+$}
%\shift 1.8 0.7 \put {$v_R(t)$}

%\atpin spring1r \shift -0.5 0.5
%\put{$-$}

%Tension inductor
%\atpin L1* \shift -0.8 0.5
%\put{$+$}
%\shift 1.3 0.7 \put {$v_L(t)$}

%\atpin L1. \shift -0.3 0.5
%\put{$-$}

% Tension capacitor
%\atpin C1t \shift 0.5 0
%\put{$+$}
%\shift 1 -1 \put {$v_C(t)$}

%\atpin C1b \shift 0.5 -0.5
%\put{$-$}

% Tension fuente
\atpin varU1t \shift -1.5 0
\put{$+$}

\atpin varU1b \shift -1.5 -0.5
\put{$-$}


\end{circuit}