[Tex/LaTex] Exponential function


I have a problem creating an exponential function in equation mode in Latex. I would like to have this exponential function: exponential^((y^2)/4). Does anyone know have to do that?

Best Answer

In the equation environment, you shouldn't use the $ sign(*):

\begin{equation} e^{y^2/4} \end{equation}


\begin{equation} e^{\frac{1}{4} y^2} \end{equation}

should work.

(*) Except in such cases:

\begin{equation} x=0 \text{ if $x$ and $y$ are nice people} \end{equation}
Related Question