« View all new features in Mathematica 9  previous  |  next 
New in Mathematica 9Advanced Hybrid and Differential Algebraic Equations

Double Pendulum 

In[7]:=
Click for copyable input
X
In[8]:=
Click for copyable input
X
       
Play Animation »
Stop Animation »
Click to play animation

Model the motion of a double pendulum in Cartesian coordinates.

Click for copyable input
X

Derive the governing equations using Newton's second law of motion, and .

In[1]:=
Click for copyable input
X

The lengths of the pendulum rods are fixed. These are expressed as algebraic constraints.

In[2]:=
Click for copyable input
X

Specify the initial state of the system as initial conditions.

In[3]:=
Click for copyable input
X

Specify the physical parameters for the pendulum system.

In[4]:=
Click for copyable input
X

Solve and visualize the system.

In[5]:=
Click for copyable input
X
In[6]:=
Click for copyable input
X
Out[6]=