Re: Dot Product in Cylindrical Coordinates
- To: mathgroup at smc.vnet.net
- Subject: [mg69232] Re: [mg69211] Dot Product in Cylindrical Coordinates
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Sun, 3 Sep 2006 01:39:33 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 1 Sep 2006, at 23:41, Sergio Miguel Terrazas Porras wrote:
> Hello group:
>
> When I calculate the dot product of vectors {1,Pi/4,0} and {2,0,1} in
> Cylindrical Coordinates Mathematica 5.1 returns the result Sqrt[2],
> when the
> result should be 2.
> What is going on ?
> Thanks
> Sergio Terrazas
>
The correct way to do this is:
<< "Calculus`VectorAnalysis`"
SetCoordinates[Cylindrical[\[Rho], \[Phi], z]];
Simplify[(JacobianMatrix[] . {1, Pi/4, 0}) . (JacobianMatrix[] . {2,
0, 1})]
2
For explanation see the thread:
http://forums.wolfram.com/mathgroup/archive/2004/Oct/msg00273.html
Andrzej Kozlowski