Professional Documents
Culture Documents
Double Pendulum: Josh Altic
Double Pendulum: Josh Altic
Josh Altic
Josh Altic
Double Pendulum
Position
x1
x2
1
L1
x1 = L1 sin(1 )
x2 = L1 sin(1 ) + L2 sin(2 )
y1
y1 = L1 cos(1 )
m1
2
m2
y2 = L1 cos(1 ) L2 cos(2 )
y2
Josh Altic
L2
Double Pendulum
P = m1 gy1 + m2 gy2
P = m1 gL1 cos(1 ) m2 g (L1 cos(1 ) + L2 cos(2 ))
Josh Altic
Double Pendulum
We know that
K = 1/2mv 2 .
Which brings us to
K = 1/2m(x 2 + y 2 ).
Josh Altic
Double Pendulum
K = 1/2m1 (x 12 + y 12 ) + 1/2m2 (x 22 + y 22 ).
position:
differentiating:
x1 = L1 sin(1 )
x 1 = L1 cos(1 )1
x 2 = L1 cos(1 )1 + L2 cos(2 )2
x2 = L1 sin(1 ) + L2 sin(2 )
y1 = L1 cos(1 )
y2 = L1 cos(1 ) L2 cos(2 )
y1 = L1 sin(1 )1
y 2 = L1 sin(1 )1 + L2 sin(2 )2
Josh Altic
Double Pendulum
Lagrangian in General
=0
dt
Josh Altic
Double Pendulum
Josh Altic
Double Pendulum
L
1
Double Pendulum
d
dt
L
=0
Josh Altic
Double Pendulum
Partials for 2
Once again the Lagrangian of the system is
L = 1/2(m1 + m2 )L21 12 + 1/2m2 L22 22 + m2 L1 L2 1 2 cos(1 2 )+
(m1 + m2 )gL1 cos(1 ) + m2 L2 g cos(2 )
L
= m2 L1 L2 1 2 sin(1 2 ) L2 m2 g sin(2 )
2
L
= m2 L22 2 + m2 L1 L2 1 cos(1 2 )
2
d
dt
L
2
= m2 L22 2 + m2 L1 L2 1 cos(1 2 )
m2 L1 L2 1 sin(1 2 )(1 2 )
Josh Altic
Double Pendulum
d
dt
L
=0
Josh Altic
Double Pendulum
Josh Altic
Double Pendulum
1 =
2 =
Josh Altic
Double Pendulum
This gives me
z1 = 1
z2 = 2
z1 = 1
z2 = 2
z3 = 1
z3 = 1
z4 = 2 .
z4 = 2 .
Josh Altic
Double Pendulum
z4 =
Double Pendulum
1.5
y1 and y2
1
0.5
0
0.5
1.5
0.5
Josh Altic
0
0.5
x1 and x2
Double Pendulum
1.5
1.5
y1 and y2
1
0.5
0
0.5
1
1.5
2
Josh Altic
0
x1 and x2
Double Pendulum
1.5
y1 and y2
1
0.5
0
0.5
1
1.5
2
0
x1 and x2
Josh Altic
Double Pendulum
1.5
y1 and y2
1
0.5
0
0.5
1
1.5
2
0
x1 and x2
Josh Altic
Double Pendulum
y1 and y2
0.5
0
0.5
1
1.5
2
0
x1 and x2
Josh Altic
Double Pendulum