MathGroup Archive 2007

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

Search the Archive

Re: Why does this happen?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg78698] Re: [mg78668] Why does this happen?
  • From: Curtis Osterhoudt <cfo at lanl.gov>
  • Date: Sat, 7 Jul 2007 06:01:39 -0400 (EDT)
  • Organization: LANL
  • References: <200707060731.DAA21496@smc.vnet.net>
  • Reply-to: cfo at lanl.gov

On Friday 06 July 2007 01:31:37 Budaoy 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?

I'm willing to bet that neither one is correct. If you plot the function you 
give, its area definitely does NOT converge on {0, Infinity}.

-- 
==========================================================
Curtis Osterhoudt
cfo at remove_this.lanl.and_this.gov
PGP Key ID: 0x4DCA2A10
Please avoid sending me Word or PowerPoint attachments
See http://www.gnu.org/philosophy/no-word-attachments.html
==========================================================


  • Prev by Date: Re: Substituting simpler expressions
  • Next by Date: Re: Why does this happen?
  • Previous by thread: Why does this happen?
  • Next by thread: Why does this happen?