- #1
big-ted
- 4
- 0
Hi all,
I'm trying to do some vector analysis in Mathematica 6. I have the vector analysis package loaded via: << VectorAnalysis`
I'm working in the default cartesian coordinate system, but just to be on the safe side I have set: SetCoordinates[Cartesian]
The grad operator seems to work ok, as in the example in the help file:
Grad[2 Xx^2 + Yy]
gives
{4 Xx, 1, 0}
But anything else seems to just return the input. Eg:
Cross[Xx,Yy]
gives
Xx\[Cross]Yy
But I know this should be Zz!
Same for Dot, Curl etc. I'm not too experienced with Mathematica. Hopefully someone can point out a simple mistake I'm making!
Thanks in advance!
I'm trying to do some vector analysis in Mathematica 6. I have the vector analysis package loaded via: << VectorAnalysis`
I'm working in the default cartesian coordinate system, but just to be on the safe side I have set: SetCoordinates[Cartesian]
The grad operator seems to work ok, as in the example in the help file:
Grad[2 Xx^2 + Yy]
gives
{4 Xx, 1, 0}
But anything else seems to just return the input. Eg:
Cross[Xx,Yy]
gives
Xx\[Cross]Yy
But I know this should be Zz!
Same for Dot, Curl etc. I'm not too experienced with Mathematica. Hopefully someone can point out a simple mistake I'm making!
Thanks in advance!
Last edited: