Using array-like vector of unknowns for the ode equation at time t, classes, and the integrate.odeint function, find dependence of the period of a pendulum's motion as a function of its initial amplitude.
And use scipy.interpolate.interp1d() to plot a graph of period as a function of amplitude and find the period of oscillation.
Comments
Leave a comment