Diagnosing an Error in my String Wave Solution

2 replies · 2K views · last reply
Dustinsfl
Messages
2,217
Reaction score
5
My plot seems wrong so I am not sure what the problem is: (a) mistake in sol (b) mistake in coding.

A clamped, uniform string under tension \(T\) has length \(\ell\). The string is struck in the middle, giving an initial tranverse velocity distribution
\[
\dot{u}(x, 0) = \delta(x - 1/2).
\]
So the solution I obtained:
\[
u(x, t) = \frac{2}{\pi}\sum_{n=1}^{\infty}\frac{1}{n} \sin\left(\frac{n \pi}{2}\right) \sin(n\pi x)\sin(n\pi t)
\]
Is the solution correct? If so, is the plot correct?

Also, how do I find the energy of each mode?

View attachment 1508
 
Attachments
  • Plot of several step-like curves against x from 0 to 1, with y from -1 to 2, in different colours: staircase shapes with flat levels at 0, 0.5, 1, 1.5, and dips to -0.5.
    Screenshot from 2013-10-19 00:41:09.png
    2.2 KB · Views: 164
Last edited:
Here is the plot t = 0:0.01:0.11.

We can see that the amplitude grows as time grows. Shouldn't the amplitude spike since it is a delt function then decay?

View attachment 1510
 
Attachments
  • Grid of twelve small line plots, four rows by three columns, each with x-axis from 0 to 1 and y-axis from 0 to 8, showing a triangular pulse centred at x = 0.5 that grows wider and taller from panel to panel.
    Screenshot from 2013-10-19 11:43:29.png
    5.5 KB · Views: 165
Does the wording under tension \(T\) something to the equation I am missing?