# Vector Analysis

## Definition of vectors a and ab

a:[1,2,3];

b:[6,5,4];

## Operating with vectors a and b.

a+b;

a-b;

a.b;

### Load the vector library for the cross product

load(vect);

### Run the cross product

express(a~b);

## Load the 3D graphics library

load(draw);

## Draw the vector sum

draw3d(color=red,
vector([0,0,0],a),
color=blue,vector(a,b),
color=green,vector([0,0,0],a+b));