With stiff systems or a growing number of degrees of freedom the computational time grows fast to an impractical limit. This is mainly caused by the inefficient operation
mode of Matlab. However, the performance is sufficient for examples with an educational
background. Practical problems with a high number of dofs need appropriate software. The derivation with the Lagrange equation of second kind is also a very limited method for deriving the equations of motion, because the computation time for calculating symbolically the derivatives of T and V (Equation 1) may grow extremely with an increasing number of dofs in combination with a complex kinematic structure. Therefore usually the Newton-Euler method is used, since it does not have this limitation. The equations of motion may be derived separately for every body. The next section shows this procedure.