MathGroup Archive 2007

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

Search the Archive

Re: What's wrong?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75350] Re: What's wrong?
  • From: Roland Franzius <roland.franzius at uos.de>
  • Date: Thu, 26 Apr 2007 03:30:37 -0400 (EDT)
  • Organization: Universitaet Hannover
  • References: <f0kbuc$r25$1@smc.vnet.net> <f0n76g$qb4$1@smc.vnet.net>

do.not at reply.nonet schrieb:
> gogoant06 at yahoo.com.hk wrote:
>> In[1]:=
>> <<Calculus`VectorAnalysis`
>>
>> In[2]:=
>> CrossProduct[{1,0,0},{0,1,0},Spherical]
>>
>> Out[2]=
>> {0,0,0}
>>
>> Isn't the result supposed to be {0,0,1}, even in spherical
>> coordinates?
>>
>> lion
>>
>>
> Lion
> 
> Your second vector has a magnitude of zero, so it's OK.
> Try:
> CoordinatesToCartesian[{0,1,0},Spherical]
> 
> As the help on (Dot, Cross, and Scalar Triple) Products says:
> "These functions convert the given vectors into Cartesian coordinates 
> and then compute the products using the standard definitions."

But of course its mathematical incorrect to use the word "vector" for 
lists of coordinates like {r,theta,phi} in curvilinear systems.

-- 

Roland Franzius


  • Prev by Date: Re: ordering a large matrix and referring to the named rows later
  • Next by Date: Re: Re: Re: strange behavior of Integrate
  • Previous by thread: Re: What's wrong?
  • Next by thread: locating max value on the image