mirror of
https://github.com/apachecn/ailearning.git
synced 2026-04-30 05:22:13 +08:00
2020-10-19 21:08:55
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
In [1]:
|
||||
|
||||
```
|
||||
```py
|
||||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
%matplotlib inline
|
||||
@@ -13,7 +13,7 @@ import numpy as np
|
||||
|
||||
In [2]:
|
||||
|
||||
```
|
||||
```py
|
||||
# plain text
|
||||
plt.title('alpha > beta')
|
||||
|
||||
@@ -100,7 +100,7 @@ a4E7gD3AZVXVXLiP+Jr4CHB5ktvpD0TfV1UPrVjRyyjJZ4FTgDVJtgMX0Z+iW3JuehOTJDXIP7Mn
|
||||
SQ0y3CWpQYa7JDXIcJekBhnuktQgw12SGmS4S1KDDHdJatD/A8TB+T0A8shJAAAAAElFTkSuQmCC
|
||||
)In [3]:
|
||||
|
||||
```
|
||||
```py
|
||||
# math text
|
||||
plt.title(r'$\alpha > \beta$')
|
||||
|
||||
@@ -185,13 +185,13 @@ uyQ1ZNwlqSHjLkkNGXdJasi4S1JDxl2SGvp/zy4/4DuVo0MAAAAASUVORK5CYII=
|
||||
|
||||
$\alpha_i > \beta_i$:
|
||||
|
||||
```
|
||||
```py
|
||||
r'$\alpha_i > \beta_i$'
|
||||
```
|
||||
|
||||
$\sum\limits_{i=0}^\infty x_i$:
|
||||
|
||||
```
|
||||
```py
|
||||
r'$\sum_{i=0}^\infty x_i$'
|
||||
```
|
||||
|
||||
@@ -204,13 +204,13 @@ r'$\sum_{i=0}^\infty x_i$'
|
||||
|
||||
$\frac{3}{4}, \binom{3}{4}, \stackrel{3}{4}$:
|
||||
|
||||
```
|
||||
```py
|
||||
r'$\frac{3}{4}, \binom{3}{4}, \stackrel{3}{4}$'
|
||||
```
|
||||
|
||||
$\frac{5 - \frac{1}{x}}{4}$:
|
||||
|
||||
```
|
||||
```py
|
||||
r'$\frac{5 - \frac{1}{x}}{4}$'
|
||||
```
|
||||
|
||||
@@ -218,13 +218,13 @@ r'$\frac{5 - \frac{1}{x}}{4}$'
|
||||
|
||||
$(\frac{5 - \frac{1}{x}}{4})$
|
||||
|
||||
```
|
||||
```py
|
||||
r'$(\frac{5 - \frac{1}{x}}{4})$'
|
||||
```
|
||||
|
||||
$\left(\frac{5 - \frac{1}{x}}{4}\right)$:
|
||||
|
||||
```
|
||||
```py
|
||||
r'$\left(\frac{5 - \frac{1}{x}}{4}\right)$'
|
||||
```
|
||||
|
||||
@@ -232,13 +232,13 @@ r'$\left(\frac{5 - \frac{1}{x}}{4}\right)$'
|
||||
|
||||
$\sqrt{2}$:
|
||||
|
||||
```
|
||||
```py
|
||||
r'$\sqrt{2}$'
|
||||
```
|
||||
|
||||
$\sqrt[3]{x}$:
|
||||
|
||||
```
|
||||
```py
|
||||
r'$\sqrt[3]{x}$'
|
||||
```
|
||||
|
||||
@@ -258,7 +258,7 @@ r'$\sqrt[3]{x}$'
|
||||
|
||||
$s(t) = \mathcal{A}\ \sin(2 \omega t)$:
|
||||
|
||||
```
|
||||
```py
|
||||
s(t) = \mathcal{A}\ \sin(2 \omega t)
|
||||
```
|
||||
|
||||
@@ -292,7 +292,7 @@ s(t) = \mathcal{A}\ \sin(2 \omega t)
|
||||
|
||||
In [4]:
|
||||
|
||||
```
|
||||
```py
|
||||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
t = np.arange(0.0, 2.0, 0.01)
|
||||
|
||||
Reference in New Issue
Block a user