\begin{circuit}2

%Capacitor
\cc \C1 {$v_1(t)$} d
\- 3 d \P1

\atpin C1t
\- 3 u \P2
\- 6 l \P3

% Otro capacitor
\cc \C2 {$v_2(t)$} l


% Conectores
\- 2 l \P4
 \connection1 {$+$} c l

\atpin P1
\htopin P4
\cc \connection2 {$-$} c l

\atpin P4 \shift -1.5 -4
\put{$v(t)$}


%Cierre
%\atpin P4
%\htopin P1


% Corriente capacitores
\frompin C1b \shift -1.3 -2
\nl \whatI1 {$i_1(t)$} d u
\vtopin C1t
\- 1 u

\frompin C2r \shift 3 -1.3
\nl \whatI1 {$i_2(t)$} d l
\htopin C2l
\- 2 l

% Tension capacitores

\atpin C1t \shift 0.5 0
\put{$+$}

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


\atpin C2l \shift -0.5 0.5
\put{$+$}

\atpin C2r \shift -0.5 0.5
\put{$-$}


\end{circuit}