MathGroup Archive 2011

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

Search the Archive

Re: Curl and Div problems

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115509] Re: Curl and Div problems
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Thu, 13 Jan 2011 03:26:00 -0500 (EST)
  • References: <igjr0p$928$1@smc.vnet.net>

You are using the wrong coordinate labels. The default ones are Xx, Yy
and Zz.

Div[{Xx^2 Yy, Xx Zz, Xx^2 Yy^3}]

2 Xx Yy

Perhaps you should read the package tutorial at VectorAnalysis/
tutorial/VectorAnalysis. It's explained in the first few paragraphs.

Cheers -- Sjoerd

On Jan 12, 10:07 am, sean k <seaninso... at gmail.com> wrote:
> I'm having problems with VectorAnalysis package.
>
> Within the documentation center, the package loads and works fine.
>
> But in a notebook, it seems to highlight Curl in red and neither Div
> or Curl works properly.
>
> Needs["VectorAnalysis`"]
>
> {D[x^2 y, x] + D[ x z, y] + D[ x^2 y^3, z]}
>
> Div[{x^2 y, x z, x^2 y^3}]
>
> gives different answers.
>
> {2 x y}
> 0
>
> Curl[{x^2 y, x z, x^2 y^3}]
>
> gives
>
> {0,0,0}
>
> I'm on windows vista home edition, 64 bit, Mathematica 8.0.
>
> Does anyone else have this problem?



  • Prev by Date: Styles for inline boxes
  • Next by Date: Sorting on mulitple criteria
  • Previous by thread: Re: Curl and Div problems
  • Next by thread: Re: Curl and Div problems