Re: Curl

*To*: mathgroup at smc.vnet.net*Subject*: [mg34888] Re: Curl*From*: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>*Date*: Wed, 12 Jun 2002 02:15:14 -0400 (EDT)*Organization*: Universitaet Leipzig*References*: <ae4f76$9d2$1@smc.vnet.net>*Reply-to*: kuska at informatik.uni-leipzig.de*Sender*: owner-wri-mathgroup at wolfram.com

Hi, and I would swear that xz is a single symbol and x*z is a product of two symbols and Curl[{x*z, y*z, -y^2}] gives {-3 y, x, 0} Regards Jens John Deacon 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