# How do you do roots in LaTeX ?

#### nanaseailie

##### Junior Member
how do you do root ?
[MATH]/squareroot 2 [/MATH]

#### JeffM

##### Elite Member
how do you do root ?
[MATH]/squareroot 2 [/MATH]
You start with pushing the calculator button in the scroll bar, the one between the flag icon and the x squared icon.

That gives you the tags to invoke Latex.

To get a square root, you type between the tags \sqrt{121} = 11. That results in

[MATH]\sqrt{121} = 11.[/MATH]
To get a higher root, you type between the tags \sqrt[5]{32} = 2. That results in

[MATH]\sqrt[5]{32} = 2.[/MATH]
The simplest way to learn Latex is to use the reply button on posts that contain LaTeX and look at the code.

#### mmm4444bot

##### Super Moderator
Staff member

$$\;$$

#### pka

##### Elite Member
how do you do root ?
[MATH]/squareroot 2 [/MATH]
\sqrt{2} is the code for the symbolic square root two $$\displaystyle \sqrt2$$
\sqrt[5]{21} is the code for the symbolic fifth root twenty one $$\displaystyle \sqrt[5]{21}$$

#### nanaseailie

##### Junior Member

$$\;$$
thx mmm4444bot, I tried the wiki list but couldnt find the square root symbol.
Thanks a bunch

#### nanaseailie

##### Junior Member

this is a good website, easy and user friendly.
it is helpful for me and hopefully to others as well.

#### topsquark

##### Senior Member
My personal favorite is Codecogs. The LaTeX is very similar to the version used here. I don't know the site you refered to, but one of the nice things about Codecogs is that you can save the code as an image and post the image here.

-Dan

#### mmm4444bot

##### Super Moderator
Staff member
… a good website, easy and user friendly …
Thanks for posting the link. I'm surprised that \sqrt{} and \sqrt[]{} are not predefined in the TeX package (or, perhaps, their omission from the wiki list was an oversight). I've added your link to the LaTeX notice, along with Dan's.