The paper is organized as follows. In Section II we briefly recall the exact factorization and, in Section II A, the coupled-trajectory algorithms derived from it. Our numerical results are presented in Section III, focusing first on the time-dependent potentials, in Section III A, and then on the analysis of the trajectories, in Section III B. Our conclusions are stated in Section IV.