The solution of structural dynamics problems by the generalized euler method