Automatic System Analysis with Lagrangian Mechanics
This repository is for my blog post about Lagrange mechanics. For more details, please visit my blog post. (written in Korean)
I wrote a MATLAB user-defined function that solves physical system with Lagrangian mechanics. This function automatically calculates the equation of motion from the kinetic and potential energy of the given system. What you only should do to analyze the motion of system is to describe the system by calculating its kinetic and potential energy. Below are some examples of equations of motion automatically calculated from this script.
GitHub does not seems to support the LaTeX grammar. Please use online latex renderer to see readable formula.
Examples
Below are the equations of motion of the system automatically calculated by this script. The inputs of the script were only the definition of potential energy and kinetic energy of the system.