27.12.2012 Views

Wave Propagation in Linear Media | re-examined

Wave Propagation in Linear Media | re-examined

Wave Propagation in Linear Media | re-examined

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example 7.5.12<br />

Z 1<br />

0<br />

s<strong>in</strong> x 2<br />

7 Mathematica implementation of a quadratu<strong>re</strong> function<br />

cos x2<br />

4<br />

dx<br />

x2 = e, , 1<br />

4 p 2<br />

This <strong>in</strong>tegral, taken from an earlier work of Sidi [126], is di e<strong>re</strong>nt from the others exam<strong>in</strong>ed so far<br />

<strong>in</strong> that the <strong>in</strong>tegrand has an <strong>in</strong> nite number of oscillations both for x ! 1 and x ! 0. Thus it<br />

cannot be t<strong>re</strong>ated <strong>in</strong> a straightforward manner like the <strong>in</strong>tegrals befo<strong>re</strong> and we split the <strong>in</strong>tegration<br />

<strong>in</strong>terval at the po<strong>in</strong>t x =1. The right part I1 = R 1<br />

s<strong>in</strong> 0 x2 cos x2 dx<br />

4 x2 <strong>re</strong>ma<strong>in</strong>s unchanged, whe<strong>re</strong>as we<br />

transform the left part by achange of variable x ! 1=x to obta<strong>in</strong> a second <strong>in</strong>tegral <strong>in</strong> our standard<br />

form I2 = R 1<br />

s<strong>in</strong>( x 1 2 ) cos 4x2 dx.<br />

In[32]:= f1[x_] := S<strong>in</strong>[Pi/x^2] Cos[Pi x^2/4]/x^2;<br />

f2[x_] := S<strong>in</strong>[Pi x^2] Cos[Pi/(x^2 4)];<br />

OscInt[f1,Pi/4 #^2&,1] + OscInt[f2,Pi #^2&,1] -<br />

N[(Exp[-Pi] - 1)/(4 Sqrt[2])]<br />

Out[32]= -14<br />

4.54636 10<br />

The next <strong>in</strong>tegrals a<strong>re</strong> taken from the tables of Abramowitz and Stegun [148] and <strong>in</strong>volve<br />

Bessel functions that a<strong>re</strong> known to behave like cos x for large values of x. Thus the partition<br />

po<strong>in</strong>ts may be computed by a l<strong>in</strong>ear function.<br />

Example 7.5.13<br />

In[33]:= f[x_] := BesselJ[0,x];<br />

OscInt[f,#&,0] - 1<br />

Out[33]= -14<br />

-4.74065 10<br />

Example 7.5.14<br />

Z 1<br />

0<br />

Z 1<br />

0<br />

J0(x) dx =1<br />

cos xK0(x)dx =1<br />

In[34]:= f[x_] := Cos[x] BesselK[0,x];<br />

OscInt[f,#&,0] - N[Pi/(2 Sqrt[2])]<br />

Out[34]= -14<br />

-2.84217 10<br />

186

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!