Introduction - If you have any usage issues, please Google them yourself
Using the second type of Lagrangian dynamic equation, select reasonable generalized coordinates, write out the kinetic energy, potential energy, and generalized force, and establish the dynamic equation of the system. Using Matlab or other language tools, based on the fourth-order Runge-Kutta time-domain integration algorithm, the integration solving program is compiled, and the program can input the driving force and torque. At the same time, use the knowledge of linear algebra to solve the characteristic frequency of the system and understand the natural frequency characteristics of the system.