[关闭]
@zy-0815 2016-12-18T13:00:50.000000Z 字数 4956 阅读 2025

张梓桐计算物理第十三次作业

1 Problem

6.12 & 6.16

2 Abstract

In this chapeter we are going to discuss about the behavior of wave,either in ideal model or the relatively real situaion-the piano vibration.While the central ideas in this discussion are applicable to virtually all types of waves on a string.

3 Background

3.1 Wave

Superpositionprinciple.gif-1176.8kB

In physics, a wave is an oscillation accompanied by a transfer of energy that travels through a medium (space or mass). Frequency refers to the addition of time. Wave motion transfers energy from one point to another, which displace particles of the transmission medium–that is, with little or no associated mass transport. Waves consist, instead, of oscillations or vibrations (of a physical quantity), around almost fixed locations.--Wikipedia,the free encylopeida.

The central equation of wave motion is:


E4B0E18DA9C497FA8A036E0874F6BEC7.png-167.7kB
From this picture we can derive the above equation by imposing that:

Then we use a finite difference approximation for the angles:

We obtain:

By taking time and x into finite setps and . In the numerical approach, we rewrite the equation into this form:

3.2 Standing Waves

Standing_wave.gif-80kB

A standing wave, also known as a stationary wave, is a wave that remains in a constant position. This phenomenon can occur because the medium is moving in the opposite direction to the wave, or it can arise in a stationary medium as a result of interference between two waves traveling in opposite directions.

The figure on the left hand is a two-dimensional standing wave on a disk; this is the fundamental mode.The figure on the right hand is a two nodal lines crossing at the center; this is an overtone.
Drum_vibration_mode01.gif-191.7kBDrum_vibration_mode21.gif-230.1kB

3.3 Wavepacket

In physics, a wave packet (or wave train) is a short "burst" or "envelope" of localized wave action that travels as a unit. A wave packet can be analyzed into, or can be synthesized from, an infinite set of component sinusoidal waves of different wavenumbers, with phases and amplitudes such that they interfere constructively only over a small region of space, and destructively elsewhere. Each component wave function, and hence the wave packet, are solutions of a wave equation. Depending on the wave equation, the wave packet's profile may remain constant or it may change (dispersion) while propagating.

Those figure illustrate the dispersion with or without dispersion.
Wave_packet_(no_dispersion).gif-69kB Wave_packet_(dispersion).gif-28.9kB
Here in our discussion the Gaussian pluck is usually used:

3.4 Structure of The Piano

On the piano string, waves reflect from both ends. The superposition of reflecting waves results in a standing wave pattern, but only for wavelengths , , , ... = , where L is the length of the string. Therefore, the only frequencies produced on a single string are . Timbre is largely determined by the content of these harmonics. Different instruments have different harmonic content for the same pitch. A real string vibrates at harmonics that are not perfect multiples of the fundamental.

QQ20161216-0@2x.png-322.7kB

4 Main Body

Source Code

5 Results

5.1 Different Gaussian Wavepackets with fixed ends.

Gaussian equations are chosen as the initial condition, that is, . From the equation above is needed. Here we assume that the string before the instant the program begins has the same initial condition.That is to say

1.gif-330.8kB

In the program we used the fixed boundary condition :


Here is a figure describing the two wavepacket came across each other, We can see that two wavepackets pass through

each other without changing shape or speed.

2.gif-467.7kB

Now we change the gaussian exponent from 2 to 1.We can observe the highly unstable behavior of the wave packet.The shape of the wavepacket is resembing the square wave.

3.gif-453.8kB

Now we change the gaussian exponent from 2 to 3.We can see in details that the wavepacket diverge.

4.gif-556.2kB

What if we change the gaussian exponent from 2 to 4.The wavepacket behaves like the normal gaussian exponent and no divergence is observed.

5.gif-250.5kB

Here is the usual Sine wavepacket.

6.gif-717.6kB

5.2 Results With Spectrum and Signal

Here are the figure that illustrate the signal of the point at x=0.05.The string was excited with a Gaussian initial pluck centered at the middle of the string.

7.png-38.6kB

Now we observe the behavior of the signal with different places.

13.png-75.2kB

Here are the spectrum of the above signal.Here the string was excited at the center.

8.png-35.9kB

Now we combine both of these picture in order to gave a relatively clear configuration.

9.png-51.4kB

Now the intial wave packet was a real one.

10.png-44.5kB

The two colors specify two slightly seperated excited points.Here you can observe some disapperance of the frequency.The reason is that 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.Hence the Fourier components,which have zero ampltitude.

11.png-48.4kB

Now we can see the appearance of some already-disappeared frequency.The message of this exercise is that the frequencies that are excited will be those whose spatial modes have the same symmetry as that of the intial wavepacket.

12.png-61.6kB

6 Vpython

Here I found a program written by others in Vpython.org
2016-12-17 09_11_12.gif-313.2kB

7 Acknowledge

1.Junyi Shangguan
2.Feng Chen
3.Wikipedia.

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