Mathematics, Differential Equations, Engineering, Optimization, Open Source.
numerically solve an ODE, we use the curve_fit function (also from scipy) to estimate. First, to generate some data, we add a uniform random number to the obtained solution. That will give us a data set to work with. Then just call the curve_fit function to estimate k, plotting the results we get a