Why does this happen?
- To: mathgroup at smc.vnet.net
- Subject: [mg78679] Why does this happen?
- From: Budaoy <yaomengliang at gmail.com>
- Date: Sat, 7 Jul 2007 05:51:45 -0400 (EDT)
I have a problem in calculating this integral shown below:
Integrate[Log[1+Exp[-x]/Sqrt[x]],{x,0,Infinity}]
Pi^2/6
N[%]
1.64493
NIntegrate[Log[1+Exp[-x]/Sqrt[x]],{x,0,Infinity}]
1.01799
Where does this difference come from and which one is correct?
P.S.:I have sent the puzzle before, but I typed Exp[-x] as Exp[x]
incorrectly.