Worked example

Operation: Cross product
a: 1 0 0
b: 0 1 0
(1, 0, 0) × (0, 1, 0) = (0 − 0, 0 − 0, 1 − 0)

→ 0; 0; 1

Method and scope

Enter two or three components. Projection is of a onto b; cross product needs three dimensions. Zero vectors cannot be normalized or used to define an angle. Choose degrees or radians explicitly.

a·b=Σaᵢbᵢ; cos θ=(a·b)/(‖a‖‖b‖); proj_b(a)=(a·b)b/‖b‖²

Sources