LaTex formulas¶
Simple formula as a separate block: \begin{equation} 5 = 2 + 3 \end{equation}
Simple formula inside the sentence: \(5 = 2 + 3\).
More complex examples:
\[\begin{equation}
e^{ix} = cox(x) + i sin(x)
\end{equation}\]
\[\begin{equation}
cos(x) = \frac{e^{ix} + e^{-ix}}{2}
\end{equation}\]
\[\begin{equation}
sin(x) = \frac{e^{ix} - e^{-ix}}{2i}
\end{equation}\]
\[\begin{equation}
f(x) = \frac{a_0}{2} + \sum_{n=1}^{\infty} (a_n cos(nx) + b_n sin(nx))
\end{equation}\]