feat: add models

This commit is contained in:
Yadunand Prem 2023-04-25 13:50:34 +08:00
parent dd56398b7d
commit aca3f94b3d
No known key found for this signature in database
3 changed files with 26 additions and 0 deletions

7
.gitignore vendored
View File

@ -9,3 +9,10 @@ cs2030_checks.xml
Lab6/docs Lab6/docs
.vscode/ .vscode/
# Tectonic files
*.aux
*.log
*.out
*.synctex.gz
cheatsheets/ma1521/.auctex-auto

Binary file not shown.

View File

@ -357,6 +357,25 @@ $S = \iint_R\sqrt{f_x^2 + f_y^2 + 1} dA$
$y' + P(x)y = Q(x)y^n$ & \makecell{$z = y^{1-n}$ \\ $\Then$ sub in Z \\ solve linear}\\ $y' + P(x)y = Q(x)y^n$ & \makecell{$z = y^{1-n}$ \\ $\Then$ sub in Z \\ solve linear}\\
\end{tabular} \end{tabular}
\section{Population Models}
\begin{center}
$N_{\infty} = \frac{B}{s}$, $\hat{N} = $ Population Now
\begin{multicols}{2}
\textbf{Malthus}\\
$N(t) = \hat{N}e^{kt}$\\
$k = B - D$
\columnbreak
\textbf{Logistic}\\
$\frac{1}{N} = \frac{1}{N_{\infty}} + (\frac{1}{\hat{N}} - \frac{1}{N_{\infty}})e^{-Bt}$\\
$N = \frac{N_{\infty}}{1+(\frac{N_{\infty}}{N} - 1)e^{-Bt}}$
\end{multicols}
\end{center}
\subsection{Uranium Decay into Thorium}
$U(t) = U_{0}e^{-k_ut}$, $k = \frac{\ln2}{\text{halflife}}, \frac{dU}{dt} = -k_{u}U$\\
Thorium: $T(t) = \frac{K_{u}U_{0}}{K_{t}-K_{u}}(e^{-k_{u}t} - e^{-k_{t}t}), \frac{dT}{dt} = k_{u}U - k_{T}T$
\end{multicols*} \end{multicols*}
\end{document} \end{document}