I have a question about the validity of the evaluation of the following integral. Here is the code with the errors and the solution
intExp = -((I E^(-\[Pi] r0^2 -32/5 I \[Pi] r0^4 s - \[Pi] r0^2 (-1 +
Hypergeometric2F1[-(1/2), 16, 1/2, -4 I \[Pi] s])) r0 (-1 + 1/(1 - 2 I \[Pi] s)))/s)
NIntegrate[intExp, {s, -Infinity, Infinity}, {r0, 0, Infinity}]
NIntegrate::slwcon: Numerical integration converging too slowly; suspect one of the
following: singularity, value of the integration is 0, highly oscillatory integrand,
or WorkingPrecision too small.
NIntegrate::ncvb: NIntegrate failed to converge to prescribed accuracy after
18 recursive bisections in r0 near {s,r0} = {0.0249979,3.22008*10^-6}.
NIntegrate obtained 0.0998733 +3.46945*10^-18 I and 0.0000859904 for the integral
and error estimates.
(* 0.0998733 *)
The question is if I can consider this solution asa valid one even if there is an error ?
Thank you for your help in advance.
NIntegrate[func, {s, -Infinity, Infinity}, {r0, 0, Infinity}, Method -> "LevinRule"]
. This gives a much smaller error estimate, adding confidence to the answer. $\endgroup$