Use the \sqrt{} command to produce square roots:
$\sqrt{\frac{a}{b}}$
produces
If you need an nth root, use \sqrt[n]{} instead.
$\sqrt[10]{\frac{a}{b}}$
produces
Practice:
Construct a document containing the quadratic formula and also a cube root.