Student[LinearAlgebra]
VectorAngle
compute the angle between two Vectors
Calling Sequence
Parameters
Description
Examples
VectorAngle(U, V, options)
U, V
-
Vectors with the same dimension
options
(optional) parameters; for a complete list, see LinearAlgebra[VectorAngle]
The VectorAngle(U, V) command computes the angle between Vectors U and V by using the formula arccos⁡U·VNorm⁡U⁢Norm⁡V.
with(Student[LinearAlgebra]):
V1 := <1,0,1>;
V1≔101
V2 := <1,1,0>;
V2≔110
VectorAngle(V1, V2);
π3
See Also
LinearAlgebra[VectorAngle]
Student[LinearAlgebra][.]
Student[LinearAlgebra][Norm]
Download Help Document
What kind of issue would you like to report? (Optional)