Integrate[Exp[b*Cos[theta]],{theta,0,2*pi}] gives a surprise in v. 5
- To: mathgroup at smc.vnet.net
- Subject: [mg43234] Integrate[Exp[b*Cos[theta]],{theta,0,2*pi}] gives a surprise in v. 5
- From: peterp at m.njit.edu (Peter G. Petropoulos)
- Date: Wed, 20 Aug 2003 22:25:51 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Integrate[Exp[b*Cos[theta]],{theta,0,2*pi}] gives a surprise in v. 5...it returns the correct answer 2*pi*BesselI[0,b] _minus_ a piece involving the Struve function...off course a numerical evaluation of the result does not agree with the NIntegrate result (which itself agrees with the numerical evaluation of 2*pi*BesselI[0,b] for a given b). Does anyone know what's going on ? Mathematica v. 4 did not have this problem...how am I to trust now the rest of the package ? should we revert to v. 4 ???? Best regards, Peter