[Tex/LaTex] missing $ inserted error for equation


I get the missing $ inserted error for the following code:


C = $ \frac{2}{\omega^2N^2\mu\pia} $


I have tried out different changes based on Googling for this error, but nothing seems to help. Any suggestions would be appreciated.

Best Answer

  1. Don't put $ inside the equation environment. You can't use math mode (ie, $...$ inside math mode (ie, \begin{equation}... \end{equation})
  2. Don't leave empty lines inside the equation environment.
  3. \pia should be \pi a. Note the space.


   C =  \frac{2}{\omega²N²μ\pi a}

enter image description here

Related Question