From charlesreid1

No edit summary
No edit summary
Line 73: Line 73:


|}
|}
[[Category:Test]]

Revision as of 19:08, 10 April 2011

A much more detailed version of this is here: http://meta.wikimedia.org/wiki/Help:Displaying_a_formula



A single equation:

<math>
\operatorname{erfc}(x) =
\frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt =
\frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}
</math>

$ \operatorname{erfc}(x) = \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt = \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}} $


Multiple-line equation (default alignments):

<math>
\begin{align}
y &=& x + 2 \\
5x + 7z &=& 8y^2 + 2y - 5
\end{align}
</math>

$ \begin{align} y &=& x + 2 \\ 5x + 7z &=& 8y^2 + 2y - 5 \end{align} $


Multiple-line equation (user-set alignments, Right-Center-Left):

<math>
\begin{array}{rcl}
y & = & x + 2 \\
5x + 7z &=& 8y^2 + 2y - 5
\end{array}
</math>

$ \begin{array}{rcl} y & = & x + 2 \\ 5x + 7z &=& 8y^2 + 2y - 5 \end{array} $