Exercise_13:Frequency Spectrum of Waves on a String

Abstract

In this exercise I focus on waves on a string and study the spectrum of it.Though waves are complicated, by using programs we can directly obtain varities message.

圖片.png

Background
Wave Equation


In order to solve this equation it must give the boundary condition.We suppose that each ends of the string is well-fixed.To construct a numerical approach to the wave equation we treat both x and t as discrete variables.Derive the needed expression for the second partial derivative, and inserting it into the wave equation, we obtain:


To write the the expression at next time step the result from above can be written as:


Where r=1 is commanded.
The Main Body
Program 6.12
First of all , if we choose triangular wave as initial wave

The corresponding power spectrum are shown below

We can see there are several peaks in the power spectrum, with the increasing of frequency, the peakvalue get smaller.
Then we change the excited point. If the string is excited from x = 0.3, the signal is:

The following power spectrum:

The number of peak has increased, compared with last situation.
click here to see the code

Program 6.13
Consider the power spectra for waves on a string as a function of where the string vibration is observed,x0.
I choose 4 values of x0, which are 5percent, 10 percent, 40 percent, 50 percent from the end of the string.
First of all, if the string is excited at 50% of string (Gaussian profile), the power spectra at different nodes are:

Then, if the string is excited at 60% of string , the power spectra at different nodes are:

Last, if the string is excited at 80% of string , the power spectra at different nodes are:

From these three figures we can find:the power spectrum at 5% of string doesn't have 3000Hz component and the power spectrum at 10% of string doesn't have 1500Hz, 3000Hz components.While there don't exist conponent at 750Hz, 1500Hz, 2250Hz,3000Hz in the power spectrum at 40% of string.
CODE

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末牲证,一起剝皮案震驚了整個(gè)濱河市冯事,隨后出現(xiàn)的幾起案子士败,更是在濱河造成了極大的恐慌,老刑警劉巖菱鸥,帶你破解...
    沈念sama閱讀 211,265評(píng)論 6 490
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場(chǎng)離奇詭異丽猬,居然都是意外死亡鸡岗,警方通過(guò)查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 90,078評(píng)論 2 385
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)歼跟,“玉大人和媳,你說(shuō)我怎么就攤上這事」郑” “怎么了留瞳?”我有些...
    開封第一講書人閱讀 156,852評(píng)論 0 347
  • 文/不壞的土叔 我叫張陵,是天一觀的道長(zhǎng)骚秦。 經(jīng)常有香客問(wèn)我她倘,道長(zhǎng),這世上最難降的妖魔是什么作箍? 我笑而不...
    開封第一講書人閱讀 56,408評(píng)論 1 283
  • 正文 為了忘掉前任硬梁,我火速辦了婚禮,結(jié)果婚禮上胞得,老公的妹妹穿的比我還像新娘荧止。我一直安慰自己,他們只是感情好阶剑,可當(dāng)我...
    茶點(diǎn)故事閱讀 65,445評(píng)論 5 384
  • 文/花漫 我一把揭開白布跃巡。 她就那樣靜靜地躺著,像睡著了一般牧愁。 火紅的嫁衣襯著肌膚如雪素邪。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 49,772評(píng)論 1 290
  • 那天猪半,我揣著相機(jī)與錄音兔朦,去河邊找鬼。 笑死磨确,一個(gè)胖子當(dāng)著我的面吹牛沽甥,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播俐填,決...
    沈念sama閱讀 38,921評(píng)論 3 406
  • 文/蒼蘭香墨 我猛地睜開眼安接,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了英融?” 一聲冷哼從身側(cè)響起盏檐,我...
    開封第一講書人閱讀 37,688評(píng)論 0 266
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎驶悟,沒想到半個(gè)月后胡野,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 44,130評(píng)論 1 303
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡痕鳍,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,467評(píng)論 2 325
  • 正文 我和宋清朗相戀三年硫豆,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了龙巨。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 38,617評(píng)論 1 340
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡熊响,死狀恐怖旨别,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情汗茄,我是刑警寧澤秸弛,帶...
    沈念sama閱讀 34,276評(píng)論 4 329
  • 正文 年R本政府宣布,位于F島的核電站洪碳,受9級(jí)特大地震影響递览,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜瞳腌,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,882評(píng)論 3 312
  • 文/蒙蒙 一绞铃、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧嫂侍,春花似錦儿捧、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,740評(píng)論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至痹栖,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間瞭空,已是汗流浹背揪阿。 一陣腳步聲響...
    開封第一講書人閱讀 31,967評(píng)論 1 265
  • 我被黑心中介騙來(lái)泰國(guó)打工, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留咆畏,地道東北人南捂。 一個(gè)月前我還...
    沈念sama閱讀 46,315評(píng)論 2 360
  • 正文 我出身青樓,卻偏偏與公主長(zhǎng)得像旧找,于是被迫代替她去往敵國(guó)和親溺健。 傳聞我的和親對(duì)象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 43,486評(píng)論 2 348

推薦閱讀更多精彩內(nèi)容