Vectors
Vectors
compute properties of a vector
vector {2, -5, 4}
specify a vector as a linear combination of unit vectors
vector 3i + 5j
vector 2i - 4j + 3k
compute the norm of a vector
norm {12, -5}
Vector Algebra
do vector computations
vector (1,3,-1) + (-2,1,6)
7 {1, 0, -2, 1} - 4 {2, -1, 1, -1}
(i + j + k) + (2i - 3j + 8k)
compute a dot product
{12, 20} . {16, -5}
(7i-j+3k).(4i-2k)
compute a cross product
{1/4, -1/2, 1} cross {1/3, 1, -2/3}
(8i + 3j - k) x (i - j + 2k)
compute a (scalar) cross product in two dimensions
(4,1) x (-5,6)
normalize a vector
normalize the vector (3, 10)
normalize vector
convert to another coordinate system
(1,1,-3) in spherical coordinates
compute the divergence of a vector field
div [x^2 sin y, y^2 sin xz, xy sin (cos z)]
calculate alternate forms of a vector analysis expression
