[Mathematica 5.1] Bug Report - Two numerical values for a same variable

*To*: mathgroup at smc.vnet.net*Subject*: [mg54117] [Mathematica 5.1] Bug Report - Two numerical values for a same variable*From*: Ling Li <ling at caltech.edu>*Date*: Fri, 11 Feb 2005 03:33:29 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

Hi, Mathematica v5.1 is much better than v5.0 on the accuracy of integration. I am not talking about numerical accuracy---v5.0 sometimes gives out two answers that are off by a constant for the same input. However, I still get two different numerical values for a same variable in v5.1 a=Exp[Integrate[(Cos[w]-Exp[-w^2/2]*Cos[23/100*w])/w, {w, 0, Infinity}]] N[a] N[a,20] Thanks for looking into this problem. --Ling