The problem is given as an equation of a spring oscillator which is influenced by the force of elasticity, the damping force (ex. resistance of the environment) and an external force that is represented as a function of time and can take a variety of different forms.
Now, our goal is, given the constants m, c, k and the function F(t), to compute the position x as a function of time. This requires a numerical method because the function of the external force is assumed to be unknown as it can be anything, thus we cannot program an analytic solution.