Here is a plot of your data:
You need to find two slopes (== taking two derivatives). First, find the slope between every two points (using numpy
):
import numpy as np
x = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10],dtype=np.float)
y = np.array([1, 2, 3, 4,
…
Top comments (0)