Simulation of Dynamic Systems with MATLAB and Simulink