Re: Question about an integral
- To: mathgroup at smc.vnet.net
- Subject: [mg54430] Re: Question about an integral
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Sun, 20 Feb 2005 00:09:51 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
On 2/19/05 at 2:32 AM, rspeers at skidmore.edu (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. What version are you using? In[1]:= $Version Integrate[1/x^2, {x, 2, A}, Assumptions -> Re[A] > 0] Out[1]= "5.1 for Mac OS X (October 25, 2004)" Out[2]= 1/2 - 1/A Or perhaps the issue is doing In[7]:= Integrate[1/x^2, {x, 2, A}] Out[7]= (A - 2)*If[Re[A] >= 0 || Im[A] != 0, 1/(2*A), Integrate[ 1/((A - 2)*x + 2)^2, {x, 0, 1}, Assumptions -> !(Re[A] >= 0 || Im[A] != 0)]] -- To reply via email subtract one hundred and four