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

Car Axis Model 

In[6]:=
Click for copyable input
X

Model the motion of a car as it goes down a bumpy road.

The car is modeled as springs connected to two bars. The bottom of the left tire is the origin. The car chassis is represented by a bar of mass M. The position of the chassis is given by and .

Click for copyable input
X

The left tire is always on a flat surface, while the right tire periodically goes over a bump. The bump is defined as follows.

In[1]:=
Click for copyable input
X

The distance between the wheels must always remain fixed, and the car chassis must always have a fixed length.

In[2]:=
Click for copyable input
X

Derive the equations of motion using Newton's law.

In[3]:=
Click for copyable input
X

Define the parameters associated with the system.

In[4]:=
Click for copyable input
X

Solve and visualize the solution.

In[5]:=
Click for copyable input
X
Out[6]=
Play Animation »
Stop Animation »
Click to play animation