Re: Curl
- To: mathgroup at smc.vnet.net
- Subject: [mg34895] Re: Curl
- From: Alan Mahoney <mahoney at mpi-magdeburg.mpg.de>
- Date: Wed, 12 Jun 2002 02:15:23 -0400 (EDT)
- Organization: Max-Planck-Institut, Magdeburg, Germany
- References: <ae4f76$9d2$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
You need to put a space between the variable names.
Curl[{x z, y z, -y^2}]
{-3 y, x, 0}
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
--
Alan W. Mahoney +49-391-6110-286
Max-Planck-Institut für Dynamik komplexer technischer Systeme
Sandtorstrasse 1, D-39106 Magdeburg, Germany