From 4f9bd72a847ccec3b580def8a4ca2ee12e453477 Mon Sep 17 00:00:00 2001
From: "Y. Wang" <yw05@forksworld.de>
Date: Wed, 10 Aug 2022 09:57:15 +0200
Subject: Reformat RWT documentation as manual pages

---
 assets/manual/tex/physics.tex | 47 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100644 assets/manual/tex/physics.tex

(limited to 'assets/manual/tex/physics.tex')

diff --git a/assets/manual/tex/physics.tex b/assets/manual/tex/physics.tex
new file mode 100644
index 0000000..5df11f9
--- /dev/null
+++ b/assets/manual/tex/physics.tex
@@ -0,0 +1,47 @@
+\appendix
+\part*{Appendices}
+\addcontentsline{toc}{part}{Appendices}
+
+\section{Physics}\label{s:physics}
+This section is mainly intended as a reference that is provided for convenience.
+
+\subsection{Movement}
+
+\begin{align*}
+  v &= \int a\, dt \\
+  x &= \int v\, dt \\
+\end{align*}
+
+\subsubsection{Constant acceleration}
+\begin{align*}
+  v &= v_0 + at \\
+  x &= x_0 + v_0t + \frac{1}{2}at^2
+\end{align*}
+
+In certain cases, the starting velocity $v_0$ and the target velocity $v_1$ are known:
+\begin{align*}
+  t &= \frac{v_1 - v_0}{a} \\
+  s &= \frac{v_1^2 - v_0^2}{2a}
+\end{align*}
+
+\subsubsection{Acceleration of a train}
+The acceleration of a train is calculate as follows:
+\[a = a_{\text{all}} + a_{\text{locomotive}}\cdot\frac{n_{\text{locomotives}}}{n_{\text{wagons}}}\]
+Please note that slopes are not taken into consideration.
+
+\subsubsection{Acceleration constants}
+\begin{tabular}{|c|r|r|}
+  \hline
+  Lever & $a_{\text{all}}$ & $a_{\text{locomotive}}$ \\
+  \hline
+  $0$ & $-10$ & $0$ \\
+  $1$ & $-3$ & $0$ \\
+  $2$ & $-0.5$ & $0$ \\
+  $3$ & $0$ & $0$ \\
+  $4$ & $0.5$ & $1.5$ \\
+  \hline
+\end{tabular}
+
+%%% Local Variables:
+%%% TeX-master: "a4manual"
+%%% End:
\ No newline at end of file
-- 
cgit v1.2.3

