so you can treat a square root like a power because you know that:

you do "[tex]" and put your math stuff and then put "[/ math]"

for the square root (x) you type "\sqrt{x}"

and you can just evaluate using power rule.

So what I typed between the math things was:

\sqrt{x}=x^{\frac{1}{2}}

\frac{x}{y} gives you a fraction of x/y.

For subscripts you just type say you want:

you type x_0 the "_" signifies a subscript and the "^" signifies a superscript

I learned it by just reading what people typed and googling, you can basically click on the latex script that people use and it'll pop up something that you can look at, so you can copy and try things out for yourself.

I also test things at:

LaTeX Equation Editor - SITMO