MathTest: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{fmbox | |||
|text=A much more detailed version of this is here: http://meta.wikimedia.org/wiki/Help:Displaying_a_formula | |||
}} | |||
{|border=1 width=100% | |||
|colspan="2"| | |||
<br /> | |||
A single equation: | A single equation: | ||
|- | |||
| | | | ||
<pre> | <pre> | ||
<math> | |||
\operatorname{erfc}(x) = | \operatorname{erfc}(x) = | ||
\frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt = | \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}} | \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}} | ||
</math> | |||
</pre> | </pre> | ||
| | | | ||
| Line 14: | Line 25: | ||
\frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}} | \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}} | ||
</math> | </math> | ||
|- | |||
|colspan="2"| | |||
<br /> | |||
Multiple-line equation (default alignments): | Multiple-line equation (default alignments): | ||
|- | |||
| | | | ||
<pre> | <pre> | ||
<math> | |||
\begin{align} | \begin{align} | ||
y &=& x + 2 \\ | y &=& x + 2 \\ | ||
5x + 7z &=& 8y^2 + 2y - 5 | 5x + 7z &=& 8y^2 + 2y - 5 | ||
\end{align} | \end{align} | ||
</math> | |||
</pre> | </pre> | ||
| | | | ||
| Line 33: | Line 48: | ||
\end{align} | \end{align} | ||
</math> | </math> | ||
|- | |||
|colspan="2"| | |||
<br /> | |||
Multiple-line equation (user-set alignments, Right-Center-Left): | Multiple-line equation (user-set alignments, Right-Center-Left): | ||
|- | |||
| | | | ||
<pre> | <pre> | ||
<math> | |||
\begin{array}{rcl} | \begin{array}{rcl} | ||
y & = & x + 2 \\ | y & = & x + 2 \\ | ||
5x + 7z &=& 8y^2 + 2y - 5 | 5x + 7z &=& 8y^2 + 2y - 5 | ||
\end{array} | \end{array} | ||
</math> | |||
</pre> | </pre> | ||
| | | | ||
| Line 53: | Line 71: | ||
\end{array} | \end{array} | ||
</math> | </math> | ||
|- | |||
| | |||
<pre> | |||
<math> | |||
\chi(\lambda) = | |||
\left| | |||
\begin{array}{ccc} | |||
\lambda - a & -b & -c \\ | |||
-d & \lambda - e & -f \\ | |||
-g & -h & \lambda - i | |||
\end{array} | |||
\right| | |||
</math> | |||
</pre> | |||
| | |||
<math> | |||
\chi(\lambda) = | |||
\left| | |||
\begin{array}{ccc} | |||
\lambda - a & -b & -c \\ | |||
-d & \lambda - e & -f \\ | |||
-g & -h & \lambda - i | |||
\end{array} | |||
\right| | |||
</math> | |||
|} | |} | ||
[[Category:Test]] | |||
Latest revision as of 05:31, 11 May 2011
|
|
A much more detailed version of this is here: http://meta.wikimedia.org/wiki/Help:Displaying_a_formula |
|
| |
<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}} $ |
|
| |
<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} $ |
|
| |
<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} $ |
<math>
\chi(\lambda) =
\left|
\begin{array}{ccc}
\lambda - a & -b & -c \\
-d & \lambda - e & -f \\
-g & -h & \lambda - i
\end{array}
\right|
</math>
|
$ \chi(\lambda) = \left| \begin{array}{ccc} \lambda - a & -b & -c \\ -d & \lambda - e & -f \\ -g & -h & \lambda - i \end{array} \right| $ |