Answer

问题及解答

计算向量的叉积

Posted by haifeng on 2022-09-24 08:52:31 last update 2022-09-24 08:52:31 | Edit | Answers (0)

已知 $a=(2,-1,-1)$, $b=(1,2,-1)$, 求 $c=a\times b$

\[
c=\begin{vmatrix}
i & j & k\\
2 & -1 & -1\\
1 & 2 & -1
\end{vmatrix}=
3i+j+5k
\]

 

 

>> A=[i,j,k;
A=[i,j,k;
2,-1,-1;
1,2,-1]
input> [i,j,k;2,-1,-1;1,2,-1]
det(A)=3*i+2*j+2*2*k-j+k
----------------------------
 type: matrix
 name: A
value:
i       j       k
2       -1      -1
1       2       -1

determinant: 3*i+2*j+2*2*k-j+k
--------------------