Re: NIntegrate of Oscillatory integrand
- To: mathgroup at smc.vnet.net
- Subject: [mg94293] Re: NIntegrate of Oscillatory integrand
- From: antononcube at gmail.com
- Date: Wed, 10 Dec 2008 04:43:36 -0500 (EST)
- References: <ghlml2$km8$1@smc.vnet.net>
It seems it is better to do this integral symbolically: In[5]:= Integrate[(1/p)*(Cos[A - k*t] - Cos[A - f[k]*t]), {t, 0, Infinity}] Out[5]= ((1/k - 1/f[k])*Sin[A])/p Anton Antonov Wolfram Research, Inc. On Dec 9, 7:00 am, ventut... at gmail.com wrote: > Do someone has an idea how can I do the numerical integral > > Int_0_to_inf (1/p)( Cos[ A - k t] - Cos[ A - k f(k) t]) where f(k) is > an arbitrary decreasing function (besselK0, or just a gaussian..) > > Oscillatory and DoubleExponential methods don't work... > > D.