diff --git a/src/cheatsheets/Schaltungstheorie.typ b/src/cheatsheets/Schaltungstheorie.typ index e480e35..9a23648 100644 --- a/src/cheatsheets/Schaltungstheorie.typ +++ b/src/cheatsheets/Schaltungstheorie.typ @@ -1406,29 +1406,227 @@ *Cramersche Regel:* $u_(k i) = (det jMat(G)_(k i))/(det jMat(G)_k)$ ($jMat(G)_(k i)$ entshet aus $G_k$ durch ersetzen der $i$-ten Splate mit $jVec(i)_q$) #table( + columns: (1fr, 1fr), + fill: (x, y) => if calc.rem(y, 2) == 0 { tableFillHigh } else { tableFillLow }, + grid( columns: 3, + column-gutter: 5mm, + row-gutter: 3mm, zap.circuit({ import zap : * vsource("V", (0,0), (0,1.5), scale: 0.4, fill: none) joham.voltage((-0.3,1), (-0.3,0), $U_0$) - resistor("G", (0,1.5), (1,1.5), scale: 0.4, fill: none) + resistor("G", (0,1.5), (1,1.5), scale: 0.4, fill: none, label: (content: $G$, distance: 0.6mm, anchor: "south")) wire("V.in", (1,0)) }), align(center+horizon, $==>$), zap.circuit({ import zap : * - isource("V", (0,0), (0,1.5), scale: 0.4, fill: none, i: (content: $G U_0 space $, invert: false, distance: 0.2, anchor: "east")) + isource("V", (0,0), (0,1.5), scale: 0.4, fill: none, i: (content: $G U_0 space$, invert: false, distance: 0.2, anchor: "east")) - resistor("G", (0,1.5), (1,1.5), scale: 0.4, fill: none) - wire("V.in", (1,0)) - }) + resistor("G", (1,0), (1,1.5), n: "*-*", scale: 0.4, fill: none, label: (content: $G$, distance: 0.6mm)) + wire("V.in", (1.5,0)) + wire("V.out", (1.5,1.5)) + }), ), + grid( + columns: 3, + column-gutter: 5mm, + row-gutter: 3mm, + zap.circuit({ + import zap : * + + vsource("V", (0,0), (0,1.5), scale: 0.4, fill: none) + joham.voltage((-0.3,1), (-0.3,0), $U_0$) + + wire("V.in", (1,0)) + wire("V.out", (1,1.5)) + }), + align(center+horizon, $==>$), + zap.circuit({ + import zap : * + isource("V", (0,0), (0,1.5), scale: 0.4, fill: none, i: (content: $G U_0 space$, invert: false, distance: 0.2, anchor: "east")) + + resistor("G", (1,0), (1,1.5), n: "*-*", scale: 0.4, fill: none, label: (content: $G$, distance: 0.6mm)) + resistor("-G", (2.3,1.5), (1,1.5), scale: 0.4, fill: none, label: (content: $-G$, distance: 0.6mm)) + wire("V.in", (2.3,0)) + wire("V.out", "G.out") + }), + ), + + grid( + columns: 3, + column-gutter: 5mm, + row-gutter: 3mm, + zap.circuit({ + import zap : * + + vsource("V", (0,0), (0,1.5), scale: 0.4, fill: none) + joham.voltage((-0.3,1), (-0.3,0), $U_0$) + + wire("V.in", (1,0)) + wire("V.out", (1,1.5)) + }), + align(center+horizon, $==>$), + zap.circuit({ + import zap : * + joham.gyrator("G", (0,0), scale: 0.4, constant: $G_d$, invert: true) + joham.ground("GND", "G.12") + node("A", "G.12") + node("B", (-0.75,0.67), label: (content: $alpha$, distance: 0.1)) + isource("V", "G.12", "G.11", scale: 0.4, fill: none, i: (content: $G_d U_0 space$, invert: true, distance: 0.3, anchor: "east")) + }), + ), + + [*Übertrager/NIK* siehe Zweitor-Tabelle], + + scale(90%, grid( + columns: (auto, 0mm, 1fr), + column-gutter: 5mm, + row-gutter: 3mm, + + [ + *VCVS + 1 Knoten* \ + #zap.circuit({ + import zap : vsource, node, disource, dvsource, wire + import cetz.draw : line, rect, mark, content + + node("A", (0,0), fill: false) + node("B", (0,1), fill: false) + node("C", (0.8,0), fill: false) + node("D", (0.8,1), fill: false) + + joham.voltage((0, 1), (0, 0), $u_"in"$, anchor: "west") + dvsource("S", (0.8,0), (0.8,1), fill: none, scale: 0.4) + + joham.voltage((1.1, 1), (1.1, 0), $u_"out"$, anchor: "west") + }) + + $u_"out" = mu u_"in"$ + ], + align(center+horizon, $==>$), + [ + #zap.circuit({ + import zap : vsource, node, disource, dvsource, wire + import cetz.draw : line, rect, mark, content + + joham.gyrator("G0", (3,0), scale: 0.4, invert: true, constant: $G_d$) + + disource("S", "G0.11", "G0.12", scale: 0.4, fill: none, i: (content: $i_"out"$, distance: 0.3, anchor: "west", invert: true)) + node("N4", "G0.11", label: (content: $beta$, distance: 0.1),) + node("N3", "G0.12",) + joham.ground("GND1", "N3") + + node("A", (1, 0.67), fill: false) + node("B", (1, -0.67), fill: false) + joham.voltage((1, 0.7), (1, -0.7), $u_"in"$, anchor: "west") + + }) + $i_"out" = mu G_d u_"in"$ + ], + )), + + scale(90%, grid( + columns: (auto, 0mm, 1fr), + column-gutter: 5mm, + row-gutter: 3mm, + + [ + *CCCS + 1 Knoten* \ + #zap.circuit({ + import zap : vsource, node, disource, dvsource, wire + import cetz.draw : line, rect, mark, content + + node("A", (0,0), fill: false) + node("B", (0,1), fill: false) + node("C", (0.8,0), fill: false) + node("D", (0.8,1), fill: false) + + wire((0,0), (0,1), i: (content: $i_"in"$, invert: true, anchor: "east", distance: 0.1), size: 0.2) + disource("S", (0.8,0), (0.8,1), fill: none, scale: 0.4) + + line((0.8,0.15), (0.8,0.1), mark: (end: ">", scale: 0.2, fill: black)) + content((0.9, 0.15), $i_"out"$, anchor: "west") + }) + $i_"out" = beta i_"in"$ + ], + align(center+horizon, $==>$), + [ + #zap.circuit({ + import zap : vsource, node, disource, dvsource, wire + import cetz.draw : line, rect, mark, content + + joham.gyrator("G1", (0,0), scale: 0.4, constant: $G_d$) + + node("A", (1.8,-0.67)) + node("B", (1.8,0.67)) + + disource("S", "A", "B", scale: 0.4, fill: none, i: (content: $i_"out"$, distance: 0.2, label-distance: -0.4, anchor: "east", invert: true)) + node("N1", "G1.21", label: (content: $alpha$, distance: 0.1),) + node("N2", "G1.22",) + joham.ground("GND1", "N2") + + joham.voltage("G1.21", "G1.22", $u_"in"$) + }) + $i_"out" = beta G_d u_in$ + ], + )), + + table.cell( + align(center+horizon, grid( + columns: (auto, 0mm, auto), + column-gutter: 5mm, + row-gutter: 3mm, + [ + *CCVS + 2 Knoten* \ + #zap.circuit({ + import zap : vsource, node, disource, dvsource, wire + import cetz.draw : line, rect, mark, content + + node("A", (0,0), fill: false) + node("B", (0,1), fill: false) + node("C", (0.8,0), fill: false) + node("D", (0.8,1), fill: false) + + wire((0,0), (0,1), i: (content: $i_"in"$, invert: true, anchor: "east", distance: 0.1), size: 0.2) + dvsource("S", (0.8,0), (0.8,1), fill: none, scale: 0.4) + + joham.voltage((1.1, 1), (1.1, 0), $u_"out"$, anchor: "west") + }) + + $u_"out" = r i_"in"$ + ], + align(center+horizon, $==>$), + [ + #zap.circuit({ + import zap : vsource, node, disource, dvsource, wire + import cetz.draw : line, rect, mark, content + + joham.gyrator("G1", (0,0), scale: 0.4, constant: $G_d$) + joham.gyrator("G0", (3,0), scale: 0.4, invert: true, constant: $G_d$) + + disource("S", "G0.11", "G0.12", scale: 0.4, fill: none, i: (content: $i_"out"$, distance: 0.3, anchor: "west", invert: true)) + node("N1", "G1.21", label: (content: $alpha$, distance: 0.1),) + node("N4", "G0.11", label: (content: $beta$, distance: 0.1),) + node("N2", "G1.22",) + node("N3", "G0.12",) + joham.ground("GND1", "N3") + joham.ground("GND1", "N2") + + joham.voltage("G1.21", "G1.22", $u_"in"$) + }) + $i_"out" = r G_d^2 u_"in"$ + ], + )), + colspan: 2 + ) ) + #table( columns: (1fr, 1fr),