From Mr. V Wiki Math
Basics
To render any math equation, the math equation must be between <math></math> i.e., <math>f(x)=x^2</math> gives
.
Common math commands
Superscript & Subscript
Superscript: <math>x^{5+y}</math> gives 
Subscript: <math>x_{5+t}</math> gives 
Together: <math>x_{5+t}^{5+y}</math> gives
Fractions & Radicals
Fractions: <math>\frac{1}{x}</math> gives 
Square root: <math>\sqrt{x+1}</math> gives 
General radical: <math>$\sqrt[3]{64}=4</math> gives ![{\displaystyle {\sqrt[{3}]{64}}=4}](https://en.wikipedia.org/api/rest_v1/media/math/render/svg/effa65e53d9a386ab42ee44b10d7c4c55a15f0be)
Trig. & Log Functions
Sin, Cos, Tan, etc.: <math>\sin{(\theta)}</math> gives 
123