{VERSION 5 0 "IBM INTEL NT" "5.0" } {USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 1 0 0 0 0 1 }{CSTYLE "" -1 256 "" 1 18 0 0 0 0 0 1 0 0 0 0 0 0 0 0 } {PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 1 1 1 }1 1 0 0 0 0 1 0 1 0 2 2 0 1 }{PSTYLE "Normal" -1 256 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 1 1 1 }3 1 0 0 0 0 1 0 1 0 2 2 0 1 }} {SECT 0 {EXCHG {PARA 256 "" 0 "" {TEXT 256 60 "Animation of the Fourie r Analysis of a \"Parital-Square\" Wave" }}{PARA 0 "" 0 "" {TEXT -1 107 " The fuction to study is F(t) = \{ 0 if -2 " 0 "" {MPLTEXT 1 0 21 "restart; with(plots):" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 32 "m:=50: # Number of terms to keep" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 79 "mycoeffs := seq( (-2/(n*Pi))*(1-cos(n*Pi/2)),n=1..m); # just the coefficients!" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 90 "myseq := seq( (-2/(n*Pi))*(1-cos(n*Pi/2))*sin(n*Pi*x/2),n=1..m): \+ # n=4,8,12,16 = missing!" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 47 "myseqsum := seq(sum(myseq[nn],nn=1..n),n=1..m):" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 165 "display(seq(plot(myseqsum[i], x=-6..6,color= blue, thickness=2),i=1..m), insequence=true, title=`Evolution of Fourier series to Partial Period Square Wave`);" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 271 "# Note: Watch the discontinuities .. t he series will never fully match the square wave because of the discon tinuity ... that \"ringing\" at the corners is called the Gibb's Pheno mena! And, the ringing is more pronounced depending on how strong the discontinuity step is!" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 31 " myseq2 := seq(myseq[n],n=1..m):" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 178 "display(seq(plot(myseq2[i], x=-6..6,color=blue, thickness=2), i=1..m), insequence=true, title=`Individual terms of the Four ier series of the Partial Period Square Wave`);" }}}{EXCHG {PARA 0 "> \+ " 0 "" {MPLTEXT 1 0 0 "" }}}}{MARK "11" 0 }{VIEWOPTS 1 1 0 1 1 1803 1 1 1 1 }{PAGENUMBERS 0 1 2 33 1 1 }