Skip to content

Commit

Permalink
Additional equations added to test.tex page
Browse files Browse the repository at this point in the history
  • Loading branch information
saxon64 committed Feb 23, 2025
1 parent 4fbbea9 commit 8dc7ec2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/image/test.aux
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Test image centered in a figure environment.}}{1}{}\protected@file@percent }
\newlabel{fig:test_image}{{1}{1}{}{}{}}
\@writefile{toc}{\contentsline {section}{\numberline {2}Some beautiful mathematical equations}{2}{}\protected@file@percent }
\gdef \@abspage@last{3}
\gdef \@abspage@last{4}
Binary file modified tests/image/test.pdf
Binary file not shown.
26 changes: 23 additions & 3 deletions tests/image/test.tex
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ \section{Some beautiful mathematical equations}

Pythagora's theorem:

$$a^2+b^2=c^2$$
$$a^2+b^2=c^2+d^2$$

Logarithms:

$$\log ab=\log a+\log b$$

Navier-Stokes equation:

$$\rho\left(\frac{\partial \textbf{v}}{\partial t}+\textbf{v}\cdot\nabla\textbf{v}\right)+\nabla p=\nabla\cdot\textbf{T}+\textbf{f}$$
$$\rho\left(\frac{\partial \textbf{v}}{\partial t}+\textbf{v}\cdot\nabla\textbf{v}\right)+\nabla p-\nabla\cdot\textbf{T}=\textbf{f}$$

Law of gravity:

Expand Down Expand Up @@ -135,7 +135,7 @@ \section{Some beautiful mathematical equations}
Binomial expansion:

\[
(a+b)^n = \sum_{k=0}^n \binom{n}{k} a^k b^{n-k}
(a+b)^n = \sum_{k=0}^n \binom{n}{k} a^k b^{n-k}
\]

Gauss:
Expand Down Expand Up @@ -166,4 +166,24 @@ \section{Some beautiful mathematical equations}

Just for fun: $6 + 9 + 6 \cdot 9 = 69$

Quadratic equation:

\[
ax^2+bx+c=0 \implies x_{1,2}=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
\]

Two more ways to calculate pi:

\begin{equation*}
\pi=\sum_{k=0}^\infty\left[\frac{1}{16^k}\left(\frac{4}{8k+1}-\frac{2}{8k+4}-\frac{1}{8k+5}-\frac{1}{8k+6} \right) \right]
\end{equation*}

\begin{equation*}
\frac{2}{\pi}=\frac{\sqrt{2}}{2}\cdot\frac{\sqrt{2+\sqrt{2}}}{2}\cdot\frac{\sqrt{2+\sqrt{2+\sqrt{2}}}}{2}\cdot\ldots
\end{equation*}

Cauchy's integral formula:

$$f(a)=\frac{1}{2\pi i}\int_{C} \frac{f(z)}{z-a} dz $$
\end{document}

0 comments on commit 8dc7ec2

Please sign in to comment.