Another service from Omega

Solution to Problem6


*****

Problem6:

Find the cross product and the inner product between the vectors (i+j) and (i-j+k).

SOLUTION:


Piece of cacke...

> i := [1,0,0]: j := [0,1,0]: k := [0,0,1]:

the crossproduct is,

> crossprod( i+j, i-j+k );

                                  [1, -1, -2]

and the dotprod is,

> dotprod(i+j,i-j+k);

                                       0

gosh this is soooo easy.... try doing it by hand using the distributivity property for the dot and cross products. Good exercise... DO IT!


Link to the commands in this file
Carlos Rodriguez <carlos@math.albany.edu>
Last modified: Mon Feb 7 16:17:34 EST 2000