MathGroup Archive 2010

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

Search the Archive

Re: *newbie* output of ScalarTripleProduct


On 1/22/10 at 5:41 AM, marco.fax at email.it (pippo) wrote:

>I'm (almost) new to mathematica ... I coped this from some tutorial

>Needs["VectorAnalysis`"]
>r1 = {1, -3, 2}
>r2 = {3, 7,-5}
>r3 = {4, 1, 6}
>r={x,y,z}
>ScalarTripleProduct[r-r1,r2-r2,r3-r1]==0

>the output i get is: Out[6]= True

>What am I missing ?

What where you expecting? The middle argument given to
ScalarTripleProduct is r2-r2 which is clearly {0,0,0}. If any
one of the three vectors is {0,0,0} the triple scalar produce
will be zero. So, Mathematica has correctly reported the
computed triple scalar product equals 0.



  • Prev by Date: Re: *newbie* output of ScalarTripleProduct
  • Next by Date: sum done two ways gives different answers in Mathematica
  • Previous by thread: Re: *newbie* output of ScalarTripleProduct
  • Next by thread: Re: *newbie* output of ScalarTripleProduct