[关闭]
@zhicheng-zhang1995 2016-06-09T17:38:08.000000Z 字数 3591 阅读 1858

Waves:The Ideal Case

物基一班 张志城  2013301110121
Exercise:6.6


Contents

Abstract

  In this passage,I discretize the central equation of wave motion and adopt the end-fixed condition to research the evolution of Gaussian wave packet,triangular wave packet and square wave packet.Besides,I compare the differences between the result of r=1.2 and the result of r=0.8,and I find that r=1.2 makes the result diverge drastically with time and r=0.8 can make the result relatively stable.
  

Background

  The central equation of wave motion is
      (6.1)
  which is usually referred to as the wave equation.This equation arises in many situations,including waves on a string,electromagnetic waves,waves on the surface of a lake,and sound waves.Although our methods and conclusions apply to other conditions as well,here we will use a language appropriate for waves on a string.
  It doesn't hurt to derive the equation from the wave motion on a string.The following diagram demonstrate the force on the segment.
    
  According to Newton's second law,we get
      (6.2)
  and then use a finite difference approximation for the angles:
      (6.3)
  We obtain
      (6.4)
  which is precisely of the form of (6.1).
  
  Our main goal is to develop a numerical scheme for sovling (6.1). We can finally get the approach:
      (6.6)
  in which .
  Since our algorithm requires only the current value and the value at previous time step,we thus need only three values of the time index.And we let y1 correspond to y at previous time step,y2 correspond to y at current time step and y3 correspond to y at next time step. After each iteration,we let y1 get the values of y2 and y2 get the values of y3 to realize the update of values.
  

Source Codes

Results

Evolution of different wave packets ()

  First,if the initial wave packet is a Gaussian wave packet of the form
    
  we can get following result:
    
  
  Second,if the initial triangular wave packet is of the form:
    
    
  we can get following result:
    
  
  Third,if the initial square wave packet is of the form:
    
    
  we then can get following result:
    
    

The effect of r on evolution

  When ,we can respectively get the evolution pattern of Gussian,triangular and square wave packets.
    
    
    
  
  When r=1.2,we can respectively get the evolution pattern of Gussian,triangular and square wave packets.
    
    
    

Superposition of Waves

    
    We can find that the two waves collide with each other and then pass through each other without changing the shape or speed.

Conclusion

  1、We can find from the evolution of the three wave packets (r=1) that the wave packet will split to two separate wave packets towards oppisite direction,and when they encounter the ends they will reflect with negative values,which is half-wave loss.
  2、From the three pictures of we find that the result is relatively stable,and differ a little with the result of . However,for r=1.2,the results are not stable,and we can see the amplitudes diverge rapidly with time.
  3、We can find from the gif that the wavepackets are unaffected by collisions.The independence of waves is consistent with the feature that the sum of two solutions of a linear equation is still a solution of the equation.
  

References&Acknowledgements

[1] Nicholas J.Giordano. 计算物理. 北京:清华大学出版社,2007.
[2] Thanks to the codes of animation written by Wentao Liu(刘文焘) in his homework:https://www.zybuluo.com/Canonvar/note/394434

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注