summaryrefslogtreecommitdiff
path: root/mindmap
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-15 18:50:46 -0700
committerPreston Pan <ret2pop@nullring.xyz>2026-03-15 18:50:46 -0700
commitedc7f724ff6b7b323fd06d7c3cbb2e56a2a214b8 (patch)
treec9c06fcb0f8fe19b3a586fb2385d899e560af422 /mindmap
parent10c9e7c106566f852f33f1eaac413a24ea89d448 (diff)
parent48e818808429e98e7db1f78b3e10537d829d2861 (diff)
Merge branch 'feat/quic-and-other'
Diffstat (limited to 'mindmap')
-rw-r--r--mindmap/LRC circuit.org32
1 files changed, 15 insertions, 17 deletions
diff --git a/mindmap/LRC circuit.org b/mindmap/LRC circuit.org
index 0df7bdc..51afe3c 100644
--- a/mindmap/LRC circuit.org
+++ b/mindmap/LRC circuit.org
@@ -5,7 +5,6 @@
#+title: LRC circuit
#+author: Preston Pan
#+description: Explanation of LRC Circuits
-
#+options: broken-links:t
* Introduction
@@ -44,21 +43,21 @@ another circuit diagram will include a possibly variable voltage source.
* Mass-Spring Equation Equivalence
We know these relations for the given circuit elements above:
-\begin{align}
+\begin{equation}
v(t) = L\frac{di}{dt} \\
i(t) = C\frac{dv}{dt} \\
v = iR
-\end{align}
+\end{equation}
if we analyze the current signal, Kirchhoff's voltage law tells us that the total voltage
drop throughout this circuit is zero. We use the capacitor equation in integral form and sum the voltages:
-\begin{align*}
+\begin{equation}
L\frac{di}{dt} + \frac{1}{C}\int i(t)dt + iR = 0
-\end{align*}
+\end{equation}
We then take a derivative to remove the integral:
-\begin{align*}
+\begin{equation}
L\frac{d^{2}i}{dt^{2}} + R\frac{di}{dt} + \frac{1}{C}i = 0 \\
(LD^{2} + RD + \frac{1}{C}) i(t) = 0
-\end{align*}
+\end{equation}
it is clear that the characteristic polynomial of this homogeneous linear [[id:4be41e2e-52b9-4cd1-ac4c-7ecb57106692][differential equation]] is:
\begin{align*}
L\lambda^{2} + R\lambda + \frac{1}{C} = 0
@@ -144,8 +143,8 @@ i(t) = V_{0}e^{i\phi}\mathcal{L}^{-1}\{\frac{1}{(s - z_{1})(s - z_{2})(s - z_{3}
where $z_{2}$ and $z_{3}$ are the two roots we found for the homogeneous case. We then use partial fraction decomposition:
\begin{align}
\label{}
-\frac{1}{(s - z_{1})(s - z_{2})(s - z_{3})} = \frac{A}{s - z_{1}} + \frac{B}{s - z_{2}} + \frac{C}{s - z_{3}} \\
-A(s - z_{2})(s - z_{3}) + B(s - z_{1})(s - z_{3}) + C(s - z_{1})(s - z_{2}) = 1
+\frac{1}{(s - z_{1})(s - z_{2})(s - z_{3})} &= \frac{A}{s - z_{1}} + \frac{B}{s - z_{2}} + \frac{C}{s - z_{3}} \\
+A(s - z_{2})(s - z_{3}) + B(s - z_{1})(s - z_{3}) + C(s - z_{1})(s - z_{2}) &= 1
\end{align}
from this we know:
\begin{align}
@@ -165,7 +164,7 @@ Now we want to eliminate B:
\label{}
[(z_{2} + z_{3}) - (z_{1} + z_{2})]A + [(z_{1} + z_{3}) - (z_{1} + z_{2})]B = 0 \\
(z_{3} - z_{1})A + (z_{3} - z_{2})B = 0 \\
-B = -\frac{z_{3} - z_{1}}{z_{3} - z_{2}}A \\
+B = -\frac{z_{3} - z_{1}}{z_{3} - z_{2}}A
\end{align}
finally, we have one equation in terms of A:
\begin{align}
@@ -186,10 +185,9 @@ C = \frac{z_{2} - z_{1}}{z_{2}z_{3}^{2} + z_{1}z_{2}^{2} + z_{1}^{2}z_{3} - z_{1
\end{align}
So we have the three coefficients:
\begin{align}
-\label{}
-A = \frac{z_{3} - z_{2}}{z_{2}z_{3}^{2} + z_{1}z_{2}^{2} + z_{1}^{2}z_{3} - z_{1}z_{3}^{2} - z_{1}^{2}z_{2} - z_{2}^{2}z_{3}} \\
-B = \frac{z_{1} - z_{3}}{z_{2}z_{3}^{2} + z_{1}z_{2}^{2} + z_{1}^{2}z_{3} - z_{1}z_{3}^{2} - z_{1}^{2}z_{2} - z_{2}^{2}z_{3}} \\
-C = \frac{z_{2} - z_{1}}{z_{2}z_{3}^{2} + z_{1}z_{2}^{2} + z_{1}^{2}z_{3} - z_{1}z_{3}^{2} - z_{1}^{2}z_{2} - z_{2}^{2}z_{3}}
+A &= \frac{z_{3} - z_{2}}{z_{2}z_{3}^{2} + z_{1}z_{2}^{2} + z_{1}^{2}z_{3} - z_{1}z_{3}^{2} - z_{1}^{2}z_{2} - z_{2}^{2}z_{3}} \\
+B &= \frac{z_{1} - z_{3}}{z_{2}z_{3}^{2} + z_{1}z_{2}^{2} + z_{1}^{2}z_{3} - z_{1}z_{3}^{2} - z_{1}^{2}z_{2} - z_{2}^{2}z_{3}} \\
+C &= \frac{z_{2} - z_{1}}{z_{2}z_{3}^{2} + z_{1}z_{2}^{2} + z_{1}^{2}z_{3} - z_{1}z_{3}^{2} - z_{1}^{2}z_{2} - z_{2}^{2}z_{3}}
\end{align}
The resulting solution looks like this:
\begin{align}
@@ -226,10 +224,10 @@ so the full solution including the terms used for the [[id:bc7e9e01-9721-4b3e-a8
i(t) = V_{0}e^{i\phi}(Ae^{z_{1}t} + Be^{z_{2}t} + Ce^{z_{3}t}) + (i'(0) + i(0))(De^{z_{2}t} + Ee^{z_{3}t})
\end{align}
the sinusoidal part of the solution looks like this:
-\begin{align}
-\label{hello world}
+\begin{equation}
+\label{}
\frac{(z_{3} - z_{2})V_{0}e^{i\phi}e^{2\pi i\omega t}}{z_{2}z_{3}^{2} + z_{1}z_{2}^{2} + z_{1}^{2}z_{3} - z_{1}z_{3}^{2} - z_{1}^{2}z_{2} - z_{2}^{2}z_{3}}
-\end{align}
+\end{equation}
* Mass-Spring System
Starting from [[id:6e2a9d7b-7010-41da-bd41-f5b2dba576d3][Newtonian mechanics]] in a single dimension: