MathGroup Archive 2007

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

Search the Archive

Re: What's wrong?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75312] Re: What's wrong?
  • From: do.not at reply.nonet
  • Date: Wed, 25 Apr 2007 05:29:43 -0400 (EDT)
  • Organization: University Of Oxford, England
  • References: <f0kbuc$r25$1@smc.vnet.net>

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."


Robert


  • Prev by Date: Re: What's wrong?
  • Next by Date: Apply filter to measured data
  • Previous by thread: Re: What's wrong?
  • Next by thread: Re: What's wrong?