MathGroup Archive 2006

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

Search the Archive

Re: Dot Product in Cylindrical Coordinates


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


  • Prev by Date: Re: Problem with using /.
  • Next by Date: Re: Mathmatica StyleSheet questions
  • Previous by thread: Re: Dot Product in Cylindrical Coordinates
  • Next by thread: Re: Dot Product in Cylindrical Coordinates