Mathematics is supported using the ASCIIMath input format. For example, you can type
x = (-b +- sqrt(b^2-4a c))/(2a)
and get