- #1
Azeemsha
- 1
- 0
- Homework Statement
- How to solve the equation of simple pendulum in Cartesian coordinates with Lagrangian multipliers for constrained forces.
- Relevant Equations
- with KE = 0.5*m*(xdot^2 + ydot^2) and PE = m*g*l*cos(theta) = m*g*l*(y/l)
equation comes to the form after substituting in Lagrangian equation
m*xdotdot + 2*lamda*x = 0
m*ydotdot + m*g*l + 2*lamda*y = 0
constrained to: x2 + y2 =1
mass m = 1
length l = 1
Lamda is Lagrangian multiplier
How to solve these equations of motion with this constraint ?
The equations is of the form of Differential algebraic Equation, of index 3.