Académique Documents
Professionnel Documents
Culture Documents
Josh Altic
Josh Altic
Double Pendulum
Position
O 1 L1
x1
x2
Josh Altic
Double Pendulum
Josh Altic
Double Pendulum
Josh Altic
Double Pendulum
2 2 2 2 K = 1/2m1 (x 1 +y 1 ) + 1/2m2 (x 2 +y 2 ).
Josh Altic
Double Pendulum
Lagrangian in General
The Lagrangian(L) of a system is dened to be the dierence of the kinetic energy and the potential energy. L = K P. For the Lagrangian of a system this Euler-Lagrange dierential equation must be true: d dt L L =0
Josh Altic
Double Pendulum
Josh Altic
Double Pendulum
(m1 + m2 )gL1 cos(1 ) + m2 L2 g cos(2 ) Thus: L 1 2 sin(1 2 ) = L1 g (m1 + m2 ) sin(1 ) m2 L1 L2 1 L = (m1 + m2 )L2 1 1 + m2 L1 L2 2 cos(1 2 ) 1 d dt L 1 = (m1 + m2 )L2 1 1 + m2 L1 L2 2 cos(1 2 ) 2 sin(1 2 )( 1 2 ) m2 L1 L2
Josh Altic Double Pendulum
d dt
L =0
2 (m1 + m2 )L2 1 1 + m2 L1 L2 2 cos(1 2 ) + m2 L1 L2 2 sin(1 2 )+ gL1 (m1 + m2 ) sin(1 ) = 0 Simplifying and Solving for 1: 2 1 = m2 L2 2 cos(1 2 ) m2 L2 2 sin(1 2 ) (m1 + m2 )g sin(1 ) (m1 + m2 )L1
Josh Altic
Double Pendulum
Partials for 2
Once again the Lagrangian of the system is
2 2 2 L = 1/2(m1 + m2 )L2 1 1 + 1/2m2 L2 2 + m2 L1 L2 1 2 cos(1 2 )+
d dt
L =0
Josh Altic
Double Pendulum
1 and We now have two equations that both have 2 in them. 2 1 = m2 L2 2 cos(1 2 ) m2 L2 2 sin(1 2 ) (m1 + m2 )g sin(1 ) (m1 + m2 )L1
Josh Altic
Double Pendulum
1 =
L1 (m1 + m2 ) m2 L1 cos2 (1 2 )
2 2 m2 L2 sin(1 2 ) cos(1 2 ) + g sin(1 ) cos(1 2 )(m1 + m2 ) 2 1 sin(1 2 )(m1 + m2 ) g sin(2 )(m1 + m2 ) + L1
2 =
L2 (m1 + m2 ) m2 L2 cos2 (1 2 )
Josh Altic
Double Pendulum
1 ,2 and 2 I can construct a If I dene new variables for 1 , system of four rst order dierential equations that I can then solve numerically. This gives me z1 = 1 z2 = 2 1 z3 = 2 . z4 = dierentiating I get 1 z1 = 2 z2 = 1 z3 = z4 = 2.
Josh Altic
Double Pendulum
z3 =
z4 =
Josh Altic
Double Pendulum
1.5
0.5
Josh Altic
0 0.5 x1 and x2
Double Pendulum
1.5
Josh Altic
Double Pendulum
m1 m2
Double Pendulum
Josh Altic
Double Pendulum