u = vector([1,1,1])
v = vector([1,1,2])
x=u.cross_product(v)
y = x[0]**2 + x[1]**2 + x[2]**2
area = y ** 0.5
print 'area is ',area

Strang-5.3-8 (last edited 2010-12-18 07:38:10 by vasanthi emani)