Difference between revisions of "Team:Jilin China/Enc/CodeLab"

Line 1: Line 1:
 +
<html>
 
<!--这里使用了bootcss的cdn来加速访问-->
 
<!--这里使用了bootcss的cdn来加速访问-->
 
<script src="https://cdn.bootcss.com/mathjax/2.7.2/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
 
<script src="https://cdn.bootcss.com/mathjax/2.7.2/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
Line 20: Line 21:
 
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
 
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
 
</script>
 
</script>
<!DOCTYPE html>
 
<html lang="en">
 
<head>
 
 
     <meta charset="UTF-8">
 
     <meta charset="UTF-8">
 
     <title>Majax 测试</title>
 
     <title>Majax 测试</title>
Line 30: Line 28:
 
     .MathJax{outline:0;}
 
     .MathJax{outline:0;}
 
</style>
 
</style>
</head>
 
 
<body>
 
<body>
 
<h1>简单公式</h1>
 
<h1>简单公式</h1>

Revision as of 15:50, 16 October 2018

Majax 测试

简单公式

$$ e^x=\lim_{n\to\infty} \left( 1+\frac{x}{n} \right)^n \qquad (1) $$ $$ x_1 = \frac{-b+\sqrt{b^2-4ac}} {2a} \qquad (2) $$ $$ x_1 = \frac{-b-\sqrt{b^2-4ac}} {2a} \qquad (3) $$

使用LaTeX语法对齐

\begin{align} \sqrt{37} & = \sqrt{\frac{73^2-1}{12^2}} \\ & = \sqrt{\frac{73^2}{12^2}\cdot\frac{73^2-1}{73^2}} \\ & = \sqrt{\frac{73^2}{12^2}}\sqrt{\frac{73^2-1}{73^2}} \\ & = \frac{73}{12}\sqrt{1 - \frac{1}{73^2}} \\ & \approx \frac{73}{12}\left(1 - \frac{1}{2\cdot73^2}\right) \end{align}

流程图

$\require{AMScd}$ \begin{CD} A @>a>> B\\ @V b V V center @VV c V\\ C @>>d> D \end{CD}