Exact solutions of the time-dependent wave equation are given for the one-dimensional motion of a particle acted on by an external force and for a forced oscillator. The solutions chosen correspond to the same time dependence for the classical momentum and for the quantum-mechanical space average of the momentum.