however the mathematical steps are still visible and have to be done by the student. The numerical solutions demonstrate real effects and enable the student to get feedback on the mechanical modelling. The Matlab code integrated in the following sections is intended to show the easy transition from the equations to the programming code and enables the reader to apply the concept on his own. In this paper the concept is shown with Matlab because the functional range(operations with vectors/matrices, symbolic and numerical tools, plentiful numerical routines) of this software meets the needs very well. Similar software tools (e.g.: MAPLE,MATHEMATICA) may also be applied.