The most straight-forward approach is to use the projection of acceleration onto the unit tangent vector to find the rate of change of speed: v_dot = aP • et, where the unit tangent is found from et = ...