Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: Curl

  • To: mathgroup at
  • Subject: [mg34907] Re: Curl
  • From: lalu_bhatt at (Bhuvanesh)
  • Date: Wed, 12 Jun 2002 02:15:45 -0400 (EDT)
  • References: <ae4f76$9d2$>
  • Sender: owner-wri-mathgroup at

John Deacon <jdeacon at> wrote:

> I must be getting the coordinate system wrong. I want to
> calculate something like curl F where 
>  F(x,y,z) = ixz + jyz + ky^2
> where i, j and k are the unit vectors in the x, y and z
> directions respectively.
> 	<< Calculus`VectorAnalysis`
> 	SetCoordinates[Cartesian[x, y, z ]]
> 	Curl[{xz, yz, -y^2}]
> produces
> 	{-2 y, 0, 0}
> Yet I would swear it should be -3yi + xj
> What am I doing wrong?
> John

You need a space or a multiplication sign between variables that you
are multiplying (i.e. xz is a single variable, while x*z is

In[1]:= <<Calculus`VectorAnalysis`

In[2]:= SetCoordinates[Cartesian[x, y, z]]

Out[2]= Cartesian[x, y, z]

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

Out[3]= {-3 y, x, 0}

Wolfram Research.

  • Prev by Date: Re: Curl
  • Next by Date: RE: Curl
  • Previous by thread: Re: Curl
  • Next by thread: RE: Curl