import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
Review the notes on arrays. Memorize the key functions. Practice.
We have an array of times $t$, and we want the array of differences $dt$ between times.
t = np.array([
0.01136646, 0.01655847, 0.02548247, 0.07698612, 0.17964401,
0.19813924, 0.22419994, 0.28622096, 0.28884997, 0.3627257 ,
0.42555072, 0.44965767, 0.47257237, 0.59335946, 0.73842352,
0.85900369, 0.88851226, 0.89153229, 0.89355469, 0.97705246,
])
where $\Delta x = x_1-x_0$.
, $$k=2.$$