       Re: CrossProduct in Spherical Coordinates

• To: mathgroup at smc.vnet.net
• Subject: [mg75317] Re: CrossProduct in Spherical Coordinates
• From: Roger Bagula <rlbagula at sbcglobal.net>
• Date: Wed, 25 Apr 2007 05:32:26 -0400 (EDT)
• References: <f0kbsf\$r1k\$1@smc.vnet.net>

```gogoant06 at yahoo.com.hk wrote:

>Dear all,
>
>I am really new to mathematica and I have met a damn simple problem.
>
>In:=
><<Calculus`VectorAnalysis`
>
>In:=
>CrossProduct[{1,0,0},{0,1,0},Spherical]
>
>Out=
>{0,0,0}
>
>Why? Isn't the result supposed to be {0,0,1}, even in spherical
>coordinates?
>
>best regards,
>lion
>
>
>
>
spherical polar coordinates are { r, theta, phi}
without an r value in the coordinate the output will always be zero.
You need at least an angle and a radius to get any output at all.
Examples:
In:=
CrossProduct[{1,0,1},{1,1,0},Spherical]

Out=
{Sin, =CF=80/2, =CF=80/2}

In:=
CrossProduct[{1,0,1},{0,1,1},Spherical]

Out=
{0,0,0}

```

• Prev by Date: Apply filter to measured data
• Next by Date: kernel shut down without error messages
• Previous by thread: Re: CrossProduct in Spherical Coordinates
• Next by thread: Re: CrossProduct in Spherical Coordinates