Dear all,
I have a mass-spring damper system with variable external force. The system is discrete and the force applied to the system by en external force can be estimated for each and every time step.
M*Xdd(t) + B*Xd(t) + K*X(t) = F(t)
I could solve the system for periodically known F(t). But I have a doubt of solving the above system for different values of F(t) when the function of F(t) cannot be properly defined.
Another problem I have is that what happen to the system when the reference point is changing while to system is running (before the system comes to the stable we change the reference point for X)? That means whole to system is moving from one point to another and this whole system motion will stop when it has reached to the destination.
I want this to solve in a while loop or for loop.
Can someone give me sample code or guide.
Thanking you