In this paper, an algorithm to establish equations of motion of dynamic systems is introduced. The main idea of this algorithm is to separate a complex system into elements which are linked by nodes. Then, equations of each element are written and combined with constraint equations at nodes. This. algorithm is appropriate for mixed systems which are usually found in modern engineering applications. Based on this algorithm, a MAPLE project dealing with 1D-mechanical-systems was invented. It produces equations of motion for any 1D-mechanical-systems described by a text file including parameters of the system
all intermediate steps are implemented automatically. An idea on a software that can automatically establish equations of motion for more complex systems is also introduced. An engineer only needs to input parameters describing the system written in right syntax, and then he will receive equations of the system as the output of the software.