Re: Re: Simplification of definite integral?
- To: mathgroup at smc.vnet.net
- Subject: [mg40749] Re: [mg40717] Re: Simplification of definite integral?
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Wed, 16 Apr 2003 01:35:27 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On Tuesday, April 15, 2003, at 04:56 pm, Dr. Wolfgang Hintze wrote:
> A question: can I treat complex contour integrals in mathematica?
Here is a simple case which works with both Integrate and NIntegrate:
NIntegrate[1/z,{z,-3,-3+I,3+I,3}]//Chop
-3.14159 I
FullSimplify[Integrate[1/z, {z, -3, -3 + I, 3 + I, 3}]]
(-I)*Pi
However, in slightly harder cases this works reliably only with
NIntegrate., and in fact, I think, the fact that it sometimes works
with Integrate is not even documented.
>
Andrzej Kozlowski
Yokohama, Japan
http://www.mimuw.edu.pl/~akoz/
http://platon.c.u-tokyo.ac.jp/andrzej/