- import Circ;
- TwoTerminal Bc = source((0,0), DC, 90, "", "$3.0\U{V}$");
- TwoTerminal Rcb = resistor(Bc.beg, normal, -90, "$10\U{\Ohm}$", "");
- TwoTerminal Rca = resistor(Bc.end, normal, 180, "", "$2\U{\Ohm}$");
- pair Jtop = Rca.end, Jbot = (Jtop.x,Rcb.end.y);
- TwoTerminal Ic = current((Jbot+Rcb.end)/2, 0, "", "$I_3$");
- TwoTerminal Rb = resistor(Jtop, normal, -90, "$6\U{\Ohm}$", "");
- TwoTerminal Ib = current(Rb.end, -90, "", "$I_2$");
- TwoTerminal Ba = source(Jtop, DC, 180, "", "$6.0\U{V}$");
- TwoTerminal Ia = current(Ba.end, 180, "$I_1$", "");
- TwoTerminal Rab = resistor(Jbot, normal, 180, "$8\U{\Ohm}$", "");
- TwoTerminal Raa = resistor(Rab.end, normal, 90, "$12\U{\Ohm}$", "");
- wire(Ia.end, Raa.end, rlsq);
- wire(Jbot, Ib.end, nsq);
- wire(Jbot, Ic.beg, nsq);
- wire(Ib.end, Rb.end, nsq);
- wire(Ic.end, Rcb.end, rlsq);
- dot("a", Jbot, S);
+import Circ;
+TwoTerminal Bc = source((0,0), DC, 90, "", "$3.0\U{V}$");
+TwoTerminal Rcb = resistor(Bc.beg, normal, -90, "$10\U{\Ohm}$", "");
+TwoTerminal Rca = resistor(Bc.end, normal, 180, "", "$2\U{\Ohm}$");
+pair Jtop = Rca.end, Jbot = (Jtop.x,Rcb.end.y);
+TwoTerminal Ic = current((Jbot+Rcb.end)/2, 0, "", "$I_3$");
+TwoTerminal Rb = resistor(Jtop, normal, -90, "$6\U{\Ohm}$", "");
+TwoTerminal Ib = current(Rb.end, -90, "", "$I_2$");
+TwoTerminal Ba = source(Jtop, DC, 180, "", "$6.0\U{V}$");
+TwoTerminal Ia = current(Ba.end, 180, "$I_1$", "");
+TwoTerminal Rab = resistor(Jbot, normal, 180, "$8\U{\Ohm}$", "");
+TwoTerminal Raa = resistor(Rab.end, normal, 90, "$12\U{\Ohm}$", "");
+wire(Ia.end, Raa.end, rlsq);
+wire(Jbot, Ib.end, nsq);
+wire(Jbot, Ic.beg, nsq);
+wire(Ib.end, Rb.end, nsq);
+wire(Ic.end, Rcb.end, rlsq);
+dot("a", Jbot, S);