Dot Product and Cross Product

Dot Product Cross Product

Drag  the tip of either arrow.  The red arrow is A and the green arrow is B.

The magnitude of each arrow is calculated as well as the magnitude of the dot/cross product.

Notice that JavaScript will update the table whenever the arrows move.