Math Formula Examples
This is an inline formula: \( a^2 + b^2 = c^2 \).
This is a displayed formula:
\[
E = mc^2
\]
Here is a complex formula for the quadratic equation:
\[
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
\]
Here is an example of a matrix:
\[
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
\]