@wudawufanfan
2016-12-18T14:31:58.000000Z
字数 3829
阅读 1150
未分类
Wave is natual phenomenon in our world which has a close connection with musical instrumentsOne particular example is stand wave also known as a stationary wave – is a wave in a medium in which each point on the axis of the wave has an associated constant amplitude. The locations at which the amplitude is minimum are called nodes, and the locations where the amplitude is maximum are called antinodes.A more ideal wave is free wave which transport to place far away.
A standing wave on a circular membrane, an example of standing waves in two dimensions. This is the fundamental mode and A higher harmonic standing wave on a disk with two nodal lines crossing at the center.
A periodic travelling wave
The central equation of wave motion is
y is the displacement of the string from its equilibrium form,x is distance measured along the horizontal direction,t is the time,and c is a parameter that turns out to be the speed with which a wave moves on the string.
we can deduce it from following analysis.
To construct a numerical approach to the wave equation,we write it in finite difference form.
Rearranging it ,we express y(i,n+1) in term of y at previous time steps,with the result
During the course of a calculation,the time index n will run from the initial time(n=0) to some final value corresponding to the time interval of interest.Sincd the string is modeled as a large number of discrete elements,I generate a lot of "data", but I only need to store information for 3 consecutive time step.
code1
some results obtained with code1 is showed
!
Here we have assumed a simple "Gaussian pluck" pf string.That is ,we have taken the initial string profile to be
![]()
we can also give a turbulence at the left while the right is still to see how the wave transport.
Firstly,let's turn to the Fourier transform
Any function y(t) can be written as a sum of sine waves.It is convenient to express y(t) as an intergral over frequency f which is usually written in the form
while in one direction its inverse
These peaks can in terms of the standing waves that are found for a string with fixed ends.The standing waves with the longest wavelength has a wavelength ,the other standing waves have wavelengths of L, 2L/3.These standing waves can be thought of as the basic spatial Fourier components of the strin motion
code2
Power Spectral Density (PSD) is a frequency-domain plot of power per Hz vs frequency.
Averaging the periodograms of segments of long-duration signals more accurately assigns the power to the correct frequencies and averages to reduce noise-induced fluctuations in the power amplitudes. The tradeoff is that the frequency resolution is reduced because fewer data points are available for each FFT calculation.
The accuracy of the PSD is also improved by spectral windowing (each segment is windowed), but the windowing eliminates the contribution of the signal near the end of segment. The solution is to overlap the segments:
Here's an example of the averaging 8 periodograms from overlapping segments of a sampled sound:
In fact,for our ideal string the magnitudes of these components do not change with time,so once we have deterimed the Fourier components for the initial wavepacket,we also have them for all laier times.If the wavepacket is located at the center of the string and is thus symmetric with respect to the center of the string.This symmetry will be preserved in the Fourier components.That is,the only Fourier components with significant amplitudes will be those that are nonzero at the center of the string and are symmetric about the center. If we give the initial disturbance at different places ,the pectrums will have different symmetry.
Chengfeng,cheng yaoyang'code
Wikipedia
computational physics;Nicholas J. Giordano, Hisao Nakanishi.