Test math: Difference between revisions

From 清冽之泉
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<pre>
\frac{} —— 分数
\sqrt{} —— 开方
^ —— 上标(幂)
_ —— 下标
\sum —— 求和
\times —— 乘号
\approx —— 约等于
</pre>
<math>E=mc^2</math>
<math>E=mc^2</math>



Latest revision as of 09:23, 11 June 2026

\frac{} —— 分数
\sqrt{} —— 开方
^ —— 上标(幂)
_ —— 下标
\sum —— 求和
\times —— 乘号
\approx —— 约等于

<math>E=mc^2</math>

<math>2 + 2 = 4</math>

<math>x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}</math>

<math>a^2 + b^2 = c^2</math>

<math>e^{i\pi} + 1 = 0</math>

<math>\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}</math>

<math>\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}</math>

<math>\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}</math>

<math>\frac{d}{dx} \left( x^2 \right) = 2x</math>

<math>(x + y)^n = \sum_{k=0}^n \binom{n}{k} x^{n-k} y^k</math>

<math>\lim_{x \to 0} \frac{\sin x}{x} = 1</math>

<graphviz> digraph G {

   A -> B;
   B -> C;
   C -> D;
   D -> A;

} </graphviz>