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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

is most easily obta<strong>in</strong>ed from R 1<br />

0<br />

6Towards a quadratu<strong>re</strong> rout<strong>in</strong>e<br />

s<strong>in</strong> y<br />

y dy with the substitution y = p x 2 , a 2 . For the purpose<br />

of demonstration, we assume that we cannot calculate the zeros of the <strong>in</strong>tegrand di<strong>re</strong>ctly.<br />

Instead, we know that for x a, p x 2 , a 2 behaves like x, which is exactly the polynomial<br />

part (6.11) of its expansion (6.10). So we compute the partition po<strong>in</strong>ts as if the argument<br />

of the s<strong>in</strong>-function was x, and we plot the sequence of partial sums for the parameter value<br />

a =50 . Ow<strong>in</strong>g to the s<strong>in</strong>gularity of the <strong>in</strong>tegrand at x = a, we determ<strong>in</strong>e the value of the<br />

rst sub<strong>in</strong>terval analytically and <strong>in</strong>clude it explicitly <strong>in</strong> the sequence of the partial sums.<br />

In[19]:= a = 50 Pi;<br />

firstval = Integrate[S<strong>in</strong>[Sqrt[x^2 - a^2]]/(x^2 - a^2) x,<br />

fx,50 Pi,51 Pig]<br />

Out[19]= S<strong>in</strong>Integral[Sqrt[101] Pi]<br />

In[20]:= sequ = Table[NIntegrate[S<strong>in</strong>[Sqrt[x^2 - a^2]] x/(x^2 - a^2),<br />

fx,i Pi,(i+1) Pig],<br />

fi,51,300g];<br />

partial = FoldList[Plus,N[firstval],sequ];<br />

1.576<br />

1.574<br />

1.572<br />

1.568<br />

1.566<br />

z1 = ListPlot[partial,PlotStyle->Po<strong>in</strong>tSize[0.006]];<br />

50 100 150 200 250<br />

In[21]:= SequenceLimit[partial] - N[Pi/2]<br />

Out[21]= -14<br />

1.59872 10<br />

We emphasise that <strong>in</strong> this case the computation of the ext<strong>re</strong>ma <strong>in</strong>stead of the zeros yields no<br />

better <strong>re</strong>sult s<strong>in</strong>ce the partial <strong>in</strong>tegrals <strong>in</strong> either case cover both negative and positive portions<br />

146

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

Saved successfully!

Ooh no, something went wrong!