\begin{circuit}2

% Amplificador
\OV1 {} - {$v^-$} {$v^+$} {}

% Primer resistor
%
\atpin OV1-
\.1
\- 2 l
\cc\nl \spring1 {$R_1$} l
\- 1 l \P1

% Corriente
\frompin spring1r \shift 0 -1.2  
\nl \whatI1 {$i_1$} d l
\htopin spring1l

% Cables al segundo resistor
\atpin .1
\- 5 u
\- 4 r

%
% Segundo resistor
%
\cc\nl \spring2 {$R_2$} r

% Corriente
\frompin spring2l \shift 0 -1.2  
\nl \whatI1 {$i_2$} d r
\htopin spring2r

% Salida
\atpin OV1O
\.2
\vtopin spring2r
\htopin spring2r

%Conectores
\atpin P1
\connection1 {$v_i$} c l

\atpin .2
\connection1 {$v_o$} c r

% Tierra
\atpin OV1+
\- 1 l
\- 2 d
\gnd1

\end{circuit}