Re: Dot Product in Cylindrical Coordinates
- To: mathgroup at smc.vnet.net
- Subject: [mg69230] Re: Dot Product in Cylindrical Coordinates
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Sun, 3 Sep 2006 01:39:30 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <edadqd$pgc$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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
>
Hi Sergio,
Unfortunately I don't have at hand version 5.1 but the dot product is
correct with version 5.2 for Windows:
Needs["Calculus`VectorAnalysis`"]
SetCoordinates[Cylindrical];
{1, Pi/4, 0} . {2, 0, 1}
--> 2
Regards,
Jean-Marc