Lab II
Matrices
1-9
(Hints: use with(Physics[Vectors]): Setup(mathematicalnotation = true):
Vectors
can be given defined as ![]()
Magnitude is Norm; Dot product is just a period; Cross product is &x)
1-10
(Hints: assume b,w, t to be real. You may use the following commands: VectorDiff(rad,t), V:= unapply(v,t)).
1-11 - first part [Just demonstrate that the first equation that are written out are correct.]
(Hints, assume all componenets are real. This time use restart;
Setup(mathematicalnotation = true);
with(LinearAlgebra);
with(Physics[Vectors]);
You may use the following commands: Determinant).
1-14 parts a and d only
(Hints: You may use the commands: Transpose, AB:= Multiply(A,B);).
IV Find the gradient of cos(x) + sin(z).
IV Let A = sin(x) i + cos(z) j + ex k. Find the divergence and curl of A.