Let’s assume that we want to find an analytical expression of a function that describes the displacement an object in time, denoted as . For simplicity, we assume that this object only has one degree of freedom (DOF), e.g. the vertical displacement of the centre of gravity of a floating vessel. We also assume that the object satisfies the equation of motion given by a linear mass-damping-stiffness system:
with the mass of the object, the damping and the stiffness. is a time-dependent forcing term. We also provide appropriate initial conditions, in that case
In General, and mostly depending on the complexity of the forcing term , it is difficult to find an analytical expression that is defined at all times, , see red blue in the following figure.
Instead, we might be interested in knowing the value of the function at specific points in time, , see red dots in the previous figure. From these set of values, one can reconstruct an approximated function by, for instance, using a linear interpolation between points (green line in the figure).
For smooth enough functions, , as we increase the number of evaluation points in time, , the approximated solution solution will be closer to .
In these notes we will use the following notation, see the figure below:
, the function evaluated at time .
, the time step between two consecutive time steps, and .
When considering constant time steps, in an interval of time with time steps, the time step size will be .