Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2011

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

Search the Archive

Re: Curl and Div problems

  • To: mathgroup at
  • Subject: [mg115514] Re: Curl and Div problems
  • From: Peter Pein <petsie at>
  • Date: Thu, 13 Jan 2011 03:26:58 -0500 (EST)
  • References: <igjr0p$928$>

On 12.01.2011 10:07, sean k 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.
Hi Sean,

In[1]:= Needs["VectorAnalysis`"]
SetCoordinates[Cartesian[x, y, z]];
{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}]

Out[3]= {2 x y}

Out[4]= 2 x y

In[5]:= Curl[{x^2 y, x z, x^2 y^3}]

Out[5]= {-x + 3 x^2 y^2, -2 x y^3, -x^2 + z}


  • Prev by Date: Parallel functions in version 8
  • Next by Date: Re: Curl and Div problems
  • Previous by thread: Curl and Div problems
  • Next by thread: Re: Curl and Div problems