This is just markdown that can include latex math.
\begin{align} \dot{x} & = \sigma(y-x) \\ \dot{y} & = \rho x - y - xz \\ \dot{z} & = -\beta z + xy \end{align}import IPython
print(IPython.sys_info())
{'commit_hash': '7f10f7bb3', 'commit_source': 'installation', 'default_encoding': 'UTF-8', 'ipython_path': '/Users/sk/anaconda3/envs/class/lib/python3.6/site-packages/IPython', 'ipython_version': '6.4.0', 'os_name': 'posix', 'platform': 'Darwin-17.2.0-x86_64-i386-64bit', 'sys_executable': '/Users/sk/anaconda3/envs/class/bin/python', 'sys_platform': 'darwin', 'sys_version': '3.6.5 |Anaconda custom (64-bit)| (default, Apr 26 2018, ' '08:42:37) \n' '[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]'}
import pandas as pd
import numpy as np
curve = pd.DataFrame(np.arange(0.0, 2.0, 0.01), columns=list('t'))
curve['x'] = 1 + np.sin(2 * np.pi * curve['t'])
curve
t | x | |
---|---|---|
0 | 0.00 | 1.000000 |
1 | 0.01 | 1.062791 |
2 | 0.02 | 1.125333 |
3 | 0.03 | 1.187381 |
4 | 0.04 | 1.248690 |
5 | 0.05 | 1.309017 |
6 | 0.06 | 1.368125 |
7 | 0.07 | 1.425779 |
8 | 0.08 | 1.481754 |
9 | 0.09 | 1.535827 |
10 | 0.10 | 1.587785 |
11 | 0.11 | 1.637424 |
12 | 0.12 | 1.684547 |
13 | 0.13 | 1.728969 |
14 | 0.14 | 1.770513 |
15 | 0.15 | 1.809017 |
16 | 0.16 | 1.844328 |
17 | 0.17 | 1.876307 |
18 | 0.18 | 1.904827 |
19 | 0.19 | 1.929776 |
20 | 0.20 | 1.951057 |
21 | 0.21 | 1.968583 |
22 | 0.22 | 1.982287 |
23 | 0.23 | 1.992115 |
24 | 0.24 | 1.998027 |
25 | 0.25 | 2.000000 |
26 | 0.26 | 1.998027 |
27 | 0.27 | 1.992115 |
28 | 0.28 | 1.982287 |
29 | 0.29 | 1.968583 |
... | ... | ... |
170 | 1.70 | 0.048943 |
171 | 1.71 | 0.031417 |
172 | 1.72 | 0.017713 |
173 | 1.73 | 0.007885 |
174 | 1.74 | 0.001973 |
175 | 1.75 | 0.000000 |
176 | 1.76 | 0.001973 |
177 | 1.77 | 0.007885 |
178 | 1.78 | 0.017713 |
179 | 1.79 | 0.031417 |
180 | 1.80 | 0.048943 |
181 | 1.81 | 0.070224 |
182 | 1.82 | 0.095173 |
183 | 1.83 | 0.123693 |
184 | 1.84 | 0.155672 |
185 | 1.85 | 0.190983 |
186 | 1.86 | 0.229487 |
187 | 1.87 | 0.271031 |
188 | 1.88 | 0.315453 |
189 | 1.89 | 0.362576 |
190 | 1.90 | 0.412215 |
191 | 1.91 | 0.464173 |
192 | 1.92 | 0.518246 |
193 | 1.93 | 0.574221 |
194 | 1.94 | 0.631875 |
195 | 1.95 | 0.690983 |
196 | 1.96 | 0.751310 |
197 | 1.97 | 0.812619 |
198 | 1.98 | 0.874667 |
199 | 1.99 | 0.937209 |
200 rows × 2 columns
import matplotlib.pyplot as plt
plt.rcParams['figure.figsize'] = [8, 4]
curve.plot.line(x = 't', y = 'x')
<matplotlib.axes._subplots.AxesSubplot at 0x119058518>