#数学公式展示
使用 math: true 启用 MathJax 渲染。
使用 katex 渲染数学公式,自动检测,无需 math: true
##行内公式
md
爱因斯坦的质能方程 $E = mc^2$ 是物理学中最著名的公式。
二次方程求根公式:$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$
欧拉公式:\(e^{i\pi} + 1 = 0\)爱因斯坦的质能方程 是物理学中最著名的公式。
二次方程求根公式:
欧拉公式:
##块级公式
md
\[
\int\_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi}
\]
$$
\lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n = e
$$
泰勒展开:
$$
\sin x = \sum_{n=0}^{\infty} \frac{(-1)^n}{(2n+1)!} x^{2n+1}
$$
$$
\begin{bmatrix}
a_{11} & a_{12} & \cdots & a_{1n} \\
a_{21} & a_{22} & \cdots & a_{2n} \\
\vdots & \vdots & \ddots & \vdots \\
a_{m1} & a_{m2} & \cdots & a_{mn}
\end{bmatrix}
$$泰勒展开: