This is the situation of a damped harmonic oscillation where a supplementary force (also harmonic) is exerted.

Solution of the differential equation ^{1)} leads to a stationary part (first part) and a part that extinguishes in time (second part).

notes

1) Differential equation: y'' + a y' + b y = c sin dx with y(0) = 0.