You can use LaTeX format to write formula or equations.
Here's a sample of such formula you can write with LaTeX.
Linear Regression Formula
\[\begin{aligned} y = \alpha x_{1} + \beta x_{2} + c \end{aligned}\]Standard Deviation Formula
\[\begin{aligned} \sigma = \sqrt{\frac{1}{n} \sum_{i=1}^{n}(x_{i} - \mu)^2} \end{aligned}\]The LaTeX format is a bit intimidating, but no worry. Here's a cheat sheet for you!
You can also download it as a PDF from here!