diff --git a/semester3/numcs/numcs-summary.pdf b/semester3/numcs/numcs-summary.pdf index 1e2d65e..fabfa4d 100644 Binary files a/semester3/numcs/numcs-summary.pdf and b/semester3/numcs/numcs-summary.pdf differ diff --git a/semester3/numcs/numcs-summary.tex b/semester3/numcs/numcs-summary.tex index f6c9a9e..c34b481 100644 --- a/semester3/numcs/numcs-summary.tex +++ b/semester3/numcs/numcs-summary.tex @@ -3,7 +3,7 @@ \input{~/projects/latex/dist/full.tex} \usepackage{lmodern} -% \usepackage{pgfplots} +\usepackage{pgfplots} \setFontType{sans} \renewcommand{\authorTitle}{Robin Bacher, Janis Hutz\\\url{https://github.com/janishutz/eth-summaries}} @@ -23,23 +23,53 @@ % │ Title page │ % ╰────────────────────────────────────────────────╯ \vspace{2cm} -\begin{Huge} - \begin{center} - TITLE PAGE COMING SOON - \end{center} -\end{Huge} +\begin{center} + \begin{tikzpicture} + \begin{axis}[ + legend pos=outer north east, + axis lines = box, + xlabel = size $n$, + ylabel = Time ($s$), + variable = t, + trig format plots = rad, + ] + \addplot [ + domain=1:10, + samples=100, + color=blue, + ] + {x^2}; + \addlegendentry{$t = n^2$} + \addplot [ + domain=1:10, + samples=100, + color=green, + ] + {5 * x}; + \addlegendentry{$t = 5n$} + \addplot [ + domain=1:10, + samples=100, + color=red, + ] + {2^x}; + \addlegendentry{$t = 2^n$} + \end{axis} + \end{tikzpicture} +\end{center} -\vspace{4cm} + +\vspace{3cm} \begin{center} \begin{Large} \quote{Wenn ich keine Lust habe, das zu berechnen, dann wende ich einfach Gewalt an} \end{Large} - \hspace{3cm} - Vasile Gradinaru, 2025 + \hspace{3cm} - Prof. Dr. Vasile Gradinaru, 2025 \end{center} -\vspace{3cm} +\vspace{2cm} \begin{center} HS2025, ETHZ\\[0.2cm] \begin{Large}