You have to put inline equations inside single dollar signs, like
$\sqrt{}$
. Display equations (that go in the middle and have their own line) go inside double dollar signs, like
$$a+b$$
. For help with LaTeX markup, see
Wikipedia's reference guide. You can right click equations in answers/questions, hover over "Show Math As" and then click "TeX Commands," you can see the markup code other people have used. @Mendex