Wave Propagation in Linear Media | re-examined
Wave Propagation in Linear Media | re-examined
Wave Propagation in Linear Media | re-examined
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
8 Application of the quadratu<strong>re</strong> rout<strong>in</strong>e<br />
Th<strong>in</strong>gs a<strong>re</strong> di e<strong>re</strong>nt with the <strong>re</strong>ctangular wave packet, which is to be t<strong>re</strong>ated next. Exam<strong>in</strong><strong>in</strong>g<br />
this case, we see that the di e<strong>re</strong>nce at the orig<strong>in</strong> is ext<strong>re</strong>mely high. This is no surprise because<br />
at this po<strong>in</strong>t wemust not split the <strong>in</strong>tegrand like we did <strong>in</strong> (4.22). The <strong>re</strong>ason is that one of<br />
the <strong>re</strong>sult<strong>in</strong>g <strong>in</strong>tegrals does not converge, and this is why we ought to exclude the orig<strong>in</strong> from<br />
the computation (which <strong>in</strong> fact has been done for the mo<strong>re</strong> general driver function Phi).<br />
Example 8.4.5<br />
In[5]:= boundary = Table[ft,PhiInc[x,t,w,k,Shape->Rect]+<br />
PhiRef[x,t,w,k,Shape->Rect]-<br />
(PhiTrans[x,t,w,k,Shape->Rect]+<br />
PhiEvan[x,t,w,k,Shape->Rect])g,ft,0,20g];<br />
ListPlot[boundary/.fx_,y_g:>fx,Abs[y]g,PlotJo<strong>in</strong>ed->True,<br />
PlotRange->All];<br />
0.02<br />
0.015<br />
0.01<br />
0.005<br />
5 10 15 20<br />
The best congruence is found for the Gaussian wave, whe<strong>re</strong> we have virtually no di e<strong>re</strong>nce at<br />
all (this is why Mathematica chooses a wide plot range on the y-axis).<br />
Example 8.4.6<br />
In[6]:= n = 6;<br />
boundary = Table[ft,PhiInc[x,t,w,k,n,Shape->Gauss]+<br />
PhiRef[x,t,w,k,n,Shape->Gauss]-<br />
(PhiTrans[x,t,w,k,n,Shape->Gauss]+<br />
PhiEvan[x,t,w,k,n,Shape->Gauss])g,ft,0,20g];<br />
ListPlot[boundary/.fx_,y_g:>fx,Abs[y]g,PlotJo<strong>in</strong>ed->True,<br />
PlotRange->All];<br />
208