class: center, top
# Slides with Math .license[ Unless noted otherwise all content is released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). ] --- A single line _display_ formula $$ \sum_{i=0}^{N} i = 0 + 1 + 2 + \ldots + N $$ or $$ \sum_{i=0}^{N} i = 0 + 1 + 2 + \ldots + N $$ An inline expressions $ \sum_{i=0}^{N} i = 0 + 1 + 2 + \ldots + N $ in a larger paragraph. --- For each of the following functions state if it is $O(N^2)$: - $3 N^2 + 25 N - 20000$ - $0.00001 N^3 + 5 N + 2$ - $3N!$ - $2^N$ - $\log N$ - $1$
$x_1 \leq x_2 \leq x_3$ --- \\[ f(n) = \begin{cases} n/2, & \text{if $n$ is even} \\ 3n+1, & \text{if $n$ is odd} \end{cases} \\] $$ f(n) = \begin{cases} n/2, & \text{if $n$ is even} \\ 3n+1, & \text{if $n$ is odd} \end{cases} $$ $$ \begin{array}{c|lcr} n & \text{Left} & \text{Center} & \text{Right} \\ \hline 1 & 0.24 & 1 & 125 \\ 2 & -1 & 189 & -8 \\ 3 & -20 & 2000 & 1+10i \end{array} $$