Dot product, cross product, magnitudes and the angle between 3D vectors.
Input
Answer
Steps
Why it works
The dot product u·v = |u||v|cosθ projects one vector onto another (zero ⇔ perpendicular). The cross product u×v is perpendicular to both, with magnitude |u||v|sinθ — the area of their parallelogram (right-hand rule for direction).