Exercise_13

                               Waves on a String

Abstract

    Here the particular case of waves on a string is considered. At the beginning, a solution for the wave equation in the ideal case is introduced and developed, that is, for a perfectly flexible and frictionless string. Only one initial Gaussian wave packet and two initial Gaussian wave packets are considered to show that the wave packets are unaffected by the collisions. Besides, Fourier analysis is applied in the spectral analysis to exam the waves on a string.


Background

    The central equation of wave is



The parameter 

is the ratio of the tension in the string to the density per length.To solve the time-dependent solution

, the wave equation should be attacked with rather different numerical treatments than those employed in the work with Laplace’s equation. The numerical approach can be written as follows.

The variables are treated as discrete ones as

. The displacement of the string is a function of i and n, that is,

. Inserting the expression for the second partial derivative, the wave equation can be rewritten as

Rearranging the above equation, we have

Where 

Thus if we know the string configuration as time steps n and n-1, the configuration at step n+1 can be calculated. The boundary condition is

and the initial condition is

Main body

    On an ideal string, the wave can be described as

Here is the code 

And we can discuss the string with a fixed end,and here is the code

Conclusion

From the results above, we can draw the conclusion that when there are two Gaussian wave packets located at different places on the string, the wave packets may then propagate and collide but the wave packets are unaffected by the collisions.

Acknowledgement

Thanks for Junyi Shangguan's shared code

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 掉落的杯子在倒退 散落的咖啡在倒回 旋转的木马在逆转 可是,还是回不去,我所期待的世界 在一瞬间,时间停止,然后伴...
    暗门阅读 413评论 0 0
  • 属于自己的身体 怎能不疼惜 它要承担许多许多 所以必须结实 既要力量形体训练 也要轻轻抚摸亲吻 虽然不完美 但我依然爱它
    黄土高坡上的风姑娘阅读 115评论 0 1
  • 文/张又可 节选自张又可文集《青春的遗嘱》 其实备胎在我心里是一个不怎么起眼儿的物件儿,首先是现在暂时还没有车,其...
    张又可阅读 743评论 0 1
  • 今天是大年初五,一场突如其来的雨浇灭了人们新年的热情,虽然有过在过年的时候冰雪融化的记忆,但是下雨绝对是史无前例。...
    行小妹NOw阅读 416评论 6 1
  • 记得高中读过的一篇文章《风雅的时光》,《儒林外史》第二十四回的后一节中,写到了一个恪守本分的艺人鲍文卿。 在写鲍文...
    温寒同学阅读 1,297评论 2 9