MathGroup Archive 2000

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

Search the Archive

Re: line integral

  • To: mathgroup at smc.vnet.net
  • Subject: [mg22250] Re: line integral
  • From: "Kevin J. McCann" <kevin.mccann at jhuapl.edu>
  • Date: Sat, 19 Feb 2000 01:33:53 -0500 (EST)
  • Organization: Johns Hopkins University Applied Physics Lab, Laurel, MD, USA
  • References: <88jvs3$9q2@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

You can do numerical contour/line integrals, e.g. her is an integral around
a square contour

NIntegrate[1/z, {z, 1 - I, 1 + I,  -1 + I, -1 - I, 1 - I}]

Note that you can also use Integrate instead, but you don't always get the
right answer:

Integrate[1/z, {z, 1 - I, 1 + I,  -1 + I, -1 - I, 1 - I}]

gives zero instead of 2 Pi I
--

Kevin J. McCann
Johns Hopkins University APL


Ling Zhang <mathfeel at home.com> wrote in message
news:88jvs3$9q2 at smc.vnet.net...
> can we do line integral with mathematica? or do we have to transfer it by
> either theorems (green, gauss, stroke) or parametrize it?
>
> REGARD
>
> MZ
>
>




  • Prev by Date: InverseLaplaceTransform in Version 4
  • Next by Date: Getting the 2D equivalent of a 3D point
  • Previous by thread: line integral
  • Next by thread: interpolating function