Skip to content

nicofraternali/Lagrangian-Mechanics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Lagrangian Mechanics

In this repo I'll add all my projects involving Lagrangian Mechanics to solve complex dynamic systems.

This formulation of classical mechanics is based on the principle of least action or Hamilton's principle, it simply states that a system chooses a path where the action is minimized, this principle is formalized the following way:

$$ \delta S=0,\quad\mathrm{where}\quad S=\int_{t_1}^{t_2}L(q,\dot{q},t)dt $$

The "recipe" to get a function $L$ that minimizes the action is the Euler-Lagrange Equation

$$ \frac{d}{dt}\left(\frac{\partial L}{\partial\dot{q}}\right)-\frac{\partial L}{\partial q}=0 $$

where

  • $L = T - V$ is the functional, called Lagrangian
  • $q$ is the generalized coordinate
  • $\dot{q}$ is the generalized velocity

About

Here I'll upload all my projects involving Lagrangian Mechanics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published