- #1
Pironman
- 3
- 1
Good morning, I'm not a student but I'm curious about physics.
I would like to calculate the equation of motion of a system using the Lagrangian mechanics. Suppose a particle subjected to some external forces.
From Wikipedia, I found two method:
1. using kinetic energy and generalized forces only:
in this way I must compute the kinetic energy, and the projection of my external forces into the generalized coordinate.
2. using the lagrangian, and generalized forces:
Here I must compute the kinetic and potential energy, and instead of "0" in the right side of the equation I must put my external forces.
So, I think that using the second method I have more calculation to do, because I must compute the potential energy, that I don't need using the first method. An example of the application of these two method are in the wikipedia page of inverted pendulum, where the equations are computed using three method (these two, and Newton method): https://en.wikipedia.org/wiki/Inverted_pendulum#From_Lagrange's_equations
So, where is the advantages of compute the lagrangian? If I have to choose a method, when one is more convenient than the other?Thank you
I would like to calculate the equation of motion of a system using the Lagrangian mechanics. Suppose a particle subjected to some external forces.
From Wikipedia, I found two method:
1. using kinetic energy and generalized forces only:
in this way I must compute the kinetic energy, and the projection of my external forces into the generalized coordinate.
2. using the lagrangian, and generalized forces:
Here I must compute the kinetic and potential energy, and instead of "0" in the right side of the equation I must put my external forces.
So, I think that using the second method I have more calculation to do, because I must compute the potential energy, that I don't need using the first method. An example of the application of these two method are in the wikipedia page of inverted pendulum, where the equations are computed using three method (these two, and Newton method): https://en.wikipedia.org/wiki/Inverted_pendulum#From_Lagrange's_equations
So, where is the advantages of compute the lagrangian? If I have to choose a method, when one is more convenient than the other?Thank you