Modeling and Simulation of Dynamic Systems