MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Why does this happen?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg78714] Re: Why does this happen?
  • From: David Reiss <dbreiss at gmail.com>
  • Date: Sat, 7 Jul 2007 06:10:01 -0400 (EDT)
  • References: <f6ks38$lbm$1@smc.vnet.net>

Oops, my bad.  I see that there was only a typo in your expression:
the Exp should have had a - sign in its argument:

Integrate[Log[1+Exp[-x]/Sqrt[x]],{x,0,Infinity}]



On Jul 6, 3:47 am, Budaoy <yaomengli... at gmail.com> wrote:
> 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?




  • Prev by Date: Re: Why does this happen?
  • Next by Date: Bug in packages with RegularExpression[]
  • Previous by thread: Re: Why does this happen?
  • Next by thread: Re: Why does this happen?