MathGroup Archive 2005

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

Search the Archive

Re: Question about an integral


richard speers wrote:
> The previous version of Mathematica integrated  1/x^2 from x=2 to x=A
> very nicely, giving 1/2-1/A.  The new
> version won't do the integral.  Please help.
> 
You must not integrate over the origin. So either the real part of A has 
to be greater than zero or the imaginary part of A must not vanish:

Integrate[1/x^2,{x,2,A},Assumptions-> Re[A]>0 || Im[A]!=0]

-- 
Peter Pein
Berlin


  • Prev by Date: Re: graphing in Mathematica
  • Next by Date: Re: computing cumulative sum for list
  • Previous by thread: Re: Question about an integral
  • Next by thread: Re: Question about an integral