I am currently looking facing a problem concerning a spring slider system. The system consists of a electro engine that pulls on a spring with a constant velocity. The spring is attached to a block that sticks to the surface, but after a certain force is applied (by the spring) starts to slip and move a certain distance. I want to calculate the average velocity during the slip event. To get an as close to realistic situation as possible the force applied by the electric engine during the slip event also has to be taken into accound. So far I came up with this: F*vpull velocity electric engine=0.5kxdisplacement spring^2+0.5m(vblock^2-mgxdisplacement block(mu) Now I have been told that I can solve the problem by integration over time. But I am rather confused as to how I can do this.