I want to get dy/dt
from odeint
of SciPy as well as y itself.
I understand that odeint gets the solution of dy/dt=func(y0,t)
.
However, I also need to get dy/dt
too.
I am dealing with a structural dynamic system in which:
y : displacement
dy/dt : velocity
d(dy/dt)/dt : acceleration (force)
And I put the system into two systems:
dy/dt = x
dx/dt = func(y0,x0,t)
Then, odeint(func, [y0's, x0's])
works perfectly.
However, the final objective is to get the forces on the system.
Many thanks in advance^^