lagrange.py

Created by condouarthur

Created on October 21, 2023

596 Bytes


qi : systènes de variables des coordonnées 
Lagrangien 
L= Ec + Ep
Equation de Lagrange (non conservatif) : 
  d(drond L/drondqi')/dt - drond L/ drond qi = 0 ( + Gammai, force ne résultant pas d'un potentiel)
Soit avec deux variables de coordonnées, deux équations
Puis résolution matricielle 
[M]q" + [C]q' + [K][q] = {f}
M matrice d'inertie K matrice de rigidité
on recherche alors des pulsations propres naturelles:
  {q"} + w2{q} =0
Il faut donc résoudre :
  det ([k]-w2[M])
Sinon si on recherche les valeurs propres :
  det [K^ -w2I] = 0
  avec K^= M^-1/2 K M^-1/2
  

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.