The Hanging Chain

A Handout for CalIII+ HW#2

[Graphics:Images/Hw2_gr_1.gif]

by Mohammad Ghomi

Basic Definitions

Having solved the appropriate PDE, we know that the equation for the hanging chain is of the form:

[Graphics:Images/Hw2_gr_2.gif]

where

[Graphics:Images/Hw2_gr_3.gif]

and

[Graphics:Images/Hw2_gr_4.gif]

Note that N determines the accuracy of our approximation, and A and B are arbitrary constants corresponding to the amplitude of the solution. Recall also that the most significant variables here are the eigenvalues L (lambda). For the solution to satisfy the boundary condition y(1,t)=0, L must be a root of f(1). Letting N=40, we can obtain these roots as follows:

[Graphics:Images/Hw2_gr_5.gif]
[Graphics:Images/Hw2_gr_6.gif]

So the first four real roots are:

[Graphics:Images/Hw2_gr_7.gif]

Graphs

Here we graph the solutions corresponding to different eigenvalues. N=40 seems
to be a good approximation for the first four values. Also, for simplicity we are going to set
A=0, and B=0.5. By choosing some different values, you can convince yourselves that
A and B do not effect the qualitative behavior of the solution.

[Graphics:Images/Hw2_gr_8.gif]

The reason I have chosen "ParametricPlot" instead of "Plot" is because I wanted to rotate the graph so that the chain would be hanging down. The options which appear after the "PlotRange" are just to make the picture look pretty, and you may omit some or all of them. It is important, however, to fix the "PlotRange". This prevents Mathematica from rescaling the graph during the animation phase.

Now you can draw your pictures by choosing different values for time and eigenvalue.

[Graphics:Images/Hw2_gr_9.gif]

[Graphics:Images/Hw2_gr_10.gif]

[Graphics:Images/Hw2_gr_11.gif]
[Graphics:Images/Hw2_gr_12.gif]

[Graphics:Images/Hw2_gr_13.gif]

[Graphics:Images/Hw2_gr_14.gif]
[Graphics:Images/Hw2_gr_15.gif]

[Graphics:Images/Hw2_gr_16.gif]

[Graphics:Images/Hw2_gr_17.gif]
[Graphics:Images/Hw2_gr_18.gif]

[Graphics:Images/Hw2_gr_19.gif]

[Graphics:Images/Hw2_gr_20.gif]

Animations

In order to make some animations all we need is to generate a number of frames corresponding to different times for a given eigenvalue. The following command generates 10. You may increase the number to make your movie rum more smoothly.

[Graphics:Images/Hw2_gr_21.gif]

Now you can generate the frames for your favorite eigenvalue (say L1) by entering the following command. Once all the frames have been drawn, you can animate them by selecting any one of the frames and double clicking on it. Have fun!

[Graphics:Images/Hw2_gr_22.gif]


Converted by Mathematica      July 3, 2000