Pendulum with Counterweight
Pendulum with Counterweight
A rod is supported in the middle (which is taken as the origin) and can turn freely. On one end of the rod there is a pivot with a pendulum attached to a red bob swinging from it. At the other end of the rod is a blue counterweight.
Lagrangian mechanics is used to compute the equations of motion of the counterweight and the pendulum and to plot the trace of the pendulum bob.
A horizontal energy gauge shows the total energy of the system, which remains constant as the potential and kinetic energy magnitudes change in opposite directions.
Details
Details
The system as described has two degrees of freedom: and are the angular displacements of the counterweight arm and the pendulum, with initial values and .
ϕ(t)
θ(t)
ϕ
0
θ
0
The rod length is and the counterweight has mass The pendulum has rod length and its bob has mass .
1
1.
r
m
The potential energy of the system is .
V=gsinϕ(t)-gm(rcosθ(t)+sinϕ(t))
The kinetic energy of the system is .
T=m(t)-2r(t)(t)sin(θ(t)+ϕ(t))+(t)+(t)
1
2
2
r
2
′
θ
′
θ
′
ϕ
2
′
ϕ
1
2
2
′
ϕ
The resulting Lagrangian is and the equations of motion are
ℒ=T-V
-gmcosϕ(t)+gcosϕ(t)-mr(t)sin(θ(t)+ϕ(t))-mr(t)cos(θ(t)+ϕ(t))+m(t)+(t)0
′′
θ
2
′
θ
′′
ϕ
′′
ϕ
gsinθ(t)+r(t)-(t)sin(θ(t)+ϕ(t))+(t)(-cos(θ(t)+ϕ(t)))0
′′
θ
′′
ϕ
2
′
ϕ
Permanent Citation
Permanent Citation
Erik Mahieu
"Pendulum with Counterweight"
http://demonstrations.wolfram.com/PendulumWithCounterweight/
Wolfram Demonstrations Project
Published: October 3, 2014