\begin{asy}
import Circ;
real u = 1cm;
- TwoTerminal B = source((0,0), DC, 0, "$\mathcal{E}$", "");
- TwoTerminal R = resistor(B.end+(u,.5u), normal, 90, "", "$R$");
- TwoTerminal C = capacitor(B.beg+(-u,.5u), normal, 90, "$C$", "");
+ TwoTerminal B = source((0,0), 0, DC, "$\mathcal{E}$", "");
+ TwoTerminal R = resistor(B.end+(u,.5u), 90, normal, "", "$R$");
+ TwoTerminal C = capacitor(B.beg+(-u,.5u), 90, normal, "$C$", "");
TwoTerminal I = current((B.end.x, R.end.y+.5u), 180, "", "$I$");
wire(B.beg, C.beg, rlsq);
wire(B.end, R.beg, rlsq);
TwoTerminal Ra = resistor((-u,h), normal, 0, "$20\U{$\Omega$}$", "");
TwoTerminal Rb = resistor((u,h), normal, 0, "$10\U{$\Omega$}$", "");
TwoTerminal I = current((u,0), 0, "I", "");
- wireU(Ra.beg, B.beg, -12pt, rlsq);
+ wire(Ra.beg, B.beg, rlsq, dist=-12pt);
wire(Ra.end, Rb.beg, nsq);
- wireU(Rb.end, B.end, 12pt, rlsq);
+ wire(Rb.end, B.end, rlsq, dist=12pt);
dot("a", B.end, NE);
dot("b", Rb.end, NE);
dot("c", Rb.beg, NW);
TwoTerminal Il = current((u,h), 0, "$I_2$", ""); // lower resistors
TwoTerminal Iu = current((u,2h), 0, "$I_3$", ""); // upper resistors
pair a = Il.end+(12pt, 0);
- wireU(Rll.beg, B.beg, -12pt, rlsq);
- wireU(Rul.beg, B.beg, -12pt, rlsq);
+ wire(Rll.beg, B.beg, rlsq, dist=-12pt);
+ wire(Rul.beg, B.beg, rlsq, dist=-12pt);
wire(B.end, Ib.beg, nsq);
wire(Rll.end, Rlr.beg, nsq);
wire(Rlr.end, Il.beg, nsq);
\begin{asy}
import Circ;
real u = 2cm;
- TwoTerminal B = source((-u,0), DC, 0, "V", "5\U{V}");
- TwoTerminal R = resistor((-u,u), normal, 0, "R", "$10\U{$\Omega$}$");
- TwoTerminal C = capacitor((u,u), normal, 0, "C", "$15\U{$\mu$F}$");
+ TwoTerminal B = source((-u,0), 0, DC, "V", "5\U{V}");
+ TwoTerminal R = resistor((-u,u), 0, normal, "R", "$10\U{$\Omega$}$");
+ TwoTerminal C = capacitor((u,u), 0, normal, "C", "$15\U{$\mu$F}$");
TwoTerminal I = current((u,0), 0, "I", "");
- wireU(R.beg, B.beg, -12pt, rlsq);
+ wire(R.beg, B.beg, rlsq, dist=-12pt);
wire(R.end, C.beg, nsq);
- wireU(C.end, B.end, 12pt, rlsq);
+ wire(C.end, B.end, rlsq, dist=12pt);
\end{asy}
\end{center}
\end{frame}
\begin{center}
\begin{asy}
import Circ;
- TwoTerminal Ra = resistor((0,0), normal, 0, "$R_a$, $V_a$", "");
+ TwoTerminal Ra = resistor((0,0), 0, normal, "$R_a$, $V_a$", "");
TwoTerminal I = current(Ra.end, 0, "$I$", "");
- TwoTerminal Rb = resistor(I.end, normal, 0, "$R_b$, $V_b$", "");
+ TwoTerminal Rb = resistor(I.end, 0, normal, "$R_b$, $V_b$", "");
dot("a", Ra.beg, W);
dot("b", Rb.end, E);
real u = 5mm;
\begin{asy}
import Circ;
real u = 20pt;
- TwoTerminal Ra = resistor((0,+u), normal, 0, "$R_a$, $V_a$", "");
- TwoTerminal Rb = resistor((0,-u), normal, 0, "", "$R_b$, $V_b$");
+ TwoTerminal Ra = resistor((0,+u), 0, normal, "$R_a$, $V_a$", "");
+ TwoTerminal Rb = resistor((0,-u), 0, normal, "", "$R_b$, $V_b$");
pair aj = (Ra.beg.x, 0);
pair a = aj-(12pt,0);
pair bj = (Rb.end.x, 0);
\begin{asy}
import Circ;
real u = 2cm, h = 1.5cm;
- TwoTerminal B = source((-u,0), DC, 0, "V", "9\U{V}");
- TwoTerminal Ra = resistor((-u,1.5h), normal, 0, "R$_\text{a}$", "");
- TwoTerminal Rb = resistor(Ra.end, normal, 0, "R$_\text{b}$", "");
- TwoTerminal Rc = resistor((u,2h), normal, 0, "R$_\text{c}$", "");
- TwoTerminal Rd = resistor((u,h), normal, 0, "R$_\text{d}$", "");
+ TwoTerminal B = source((-u,0), 0, DC, "V", "9\U{V}");
+ TwoTerminal Ra = resistor((-u,1.5h), 0, normal, "R$_\text{a}$", "");
+ TwoTerminal Rb = resistor(Ra.end, 0, normal, "R$_\text{b}$", "");
+ TwoTerminal Rc = resistor((u,2h), 0, normal, "R$_\text{c}$", "");
+ TwoTerminal Rd = resistor((u,h), 0, normal, "R$_\text{d}$", "");
pair m = (Rc.beg.x - 12pt, 1.5h); // middle junction point
pair r = (Rd.end.x + 12pt, 1.5h); // right junction point
- wireU(Ra.beg, B.beg, -12pt, rlsq);
- wireU(Rc.end, r, 12pt, rlsq);
- wireU(Rd.end, r, 12pt, rlsq);
- wireU(r, B.end, 12pt, rlsq);
+ wire(Ra.beg, B.beg, rlsq, dist=-12pt);
+ wire(Rc.end, r, rlsq, dist=12pt);
+ wire(Rd.end, r, rlsq, dist=12pt);
+ wire(r, B.end, rlsq, dist=12pt);
wire(Rb.end, m, nsq);
wire(Rc.beg, m, rlsq);
wire(Rd.beg, m, rlsq);
\begin{asy}
import Circ;
real u = 2cm, h = 1.5cm;
- TwoTerminal B = source((-u,0), DC, 0, "V", "9\U{V}");
- TwoTerminal Ra = resistor((-u,1.5h), normal, 0, "R$_\text{a}$", "");
- TwoTerminal Rb = resistor(Ra.end, normal, 0, "R$_\text{b}$", "");
- TwoTerminal Rc = resistor((u,2h), normal, 0, "R$_\text{c}$", "");
- TwoTerminal Rd = resistor((u,h), normal, 0, "R$_\text{d}$", "");
+ TwoTerminal B = source((-u,0), 0, DC, "V", "9\U{V}");
+ TwoTerminal Ra = resistor((-u,1.5h), 0, normal, "R$_\text{a}$", "");
+ TwoTerminal Rb = resistor(Ra.end, 0, normal, "R$_\text{b}$", "");
+ TwoTerminal Rc = resistor((u,2h), 0, normal, "R$_\text{c}$", "");
+ TwoTerminal Rd = resistor((u,h), 0, normal, "R$_\text{d}$", "");
pair m = (Rc.beg.x - 12pt, 1.5h); // middle junction point
pair r = (Rd.end.x + 12pt, 1.5h); // right junction point
- wireU(Ra.beg, B.beg, -12pt, rlsq);
- wireU(Rc.end, r, 12pt, rlsq);
- wireU(Rd.end, r, 12pt, rlsq);
- wireU(r, B.end, 12pt, rlsq);
+ wire(Ra.beg, B.beg, rlsq, dist=-12pt);
+ wire(Rc.end, r, rlsq, dist=12pt);
+ wire(Rd.end, r, rlsq, dist=12pt);
+ wire(r, B.end, rlsq, dist=12pt);
wire(Rb.end, m, nsq);
wire(Rc.beg, m, rlsq);
wire(Rd.beg, m, rlsq);