  For a one-dimensional motion, a constant of motion for non autonomous an
linear system (position and velocity) is given from the constant of motion
associated to its autonomous system. This approach is used in the study of the
harmonic oscillator with an additional time depending force.
