2

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

\begin{equation}

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

\end{equation}

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

1
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.
    – user11232
    Nov 2, 2014 at 3:20

1 Answer 1

8
  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.

Code:

\documentclass{article}
\begin{document}
  \begin{equation}
   C =  \frac{2}{\omega²N²μ\pi a}
\end{equation}
\end{document}

enter image description here

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .