Here I want to compute this integral using the Mathematica $$\int_0^\infty \int_{-\pi}^{\pi}s^{\frac{1}{2}+2} \exp (-s) \cos \left(\frac{f}{2}\right) \exp (-i k s) \exp \left(-\frac{\sqrt{8 s u}}{\cos \left(\frac{f}{2}\right)}\right)\; df\, ds$$
For simplicity, I use $w$ as the upper limit of the integral with respect to $s$.
Thus, we have the following code by Mathematica:
Gamm[k_, u_] :=2/(15*Sqrt[Pi])*
NIntegrate[Exp[-I*k*s]*s^(1/2+2)*
Exp[-s]*Cos[f/2]*Exp[-Sqrt[8*s*u]/Cos[f/2]],
{f, -Pi, Pi}, {s, 0, w}];
Table[Gamm[0, u], {u, 0, 0.1, 0.001}]
IF I choose w = 10
,
Mathematica gives:
Table[Gamm[0, u], {u, 0, 0.1, 0.001}]
(* {0.99443, 0.789459, 0.722113, 0.675455, 0.639067, 0.609022,
0.58335, 0.560903, 0.540948, 0.522983, 0.506647} *)
When I choose w = 10^6
,
the above integral yields
Table[Gamm[0, u], {u, 0, 0.1, 0.001}]
(* {0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.} *)
Clearly, the integral is not zero. How to solve this problem? It seems that there is something wrong.
Any suggestion is helpful! Thanks!
su
should bes u
andIks
should beI k s
etc. $\endgroup$w = 10^6
? How did you address them? Why are they mentioned in the question? $\endgroup$