MathGroup Archive 2007

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

Search the Archive

Re: Is there anything wrong?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg78782] Re: Is there anything wrong?
  • From: dimitris <dimmechan at yahoo.com>
  • Date: Mon, 9 Jul 2007 01:41:30 -0400 (EDT)
  • References: <f6qdq3$9ll$1@smc.vnet.net>

            Budaoy       :
> I have a problem in calculating this integral shown below(I've posted
> this question before, but I typed Exp[-x] as Exp[x] incorrectly so you
> have figured out both of them were not converge):
>
> 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?

The first is not correct.
When Integrtate and NIntegrate give different results, you should
trust NIntegrate more than Integrate.
Acually this bug has reported in another forum by Vladimir Bondarenko
as I said in your other post.

It exists in both the versions 5.2 and 6.

Dimitris



  • Prev by Date: longest chain! is that a DFS?
  • Next by Date: Re: SolveAlways documentation problem
  • Previous by thread: Is there anything wrong?
  • Next by thread: Re: Is there anything wrong?