calculate velocity using force