|
|
|
@ -65,16 +65,24 @@
|
|
|
|
|
$$
|
|
|
|
|
cos(\theta) = \frac{A矩阵*B矩阵}{A长度*B长度}
|
|
|
|
|
$$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
公式变换(GitHub展示):$`cos(\theta) = \frac{A矩阵*B矩阵}{A长度*B长度}`$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
等同于(Markdown展示):
|
|
|
|
|
$$
|
|
|
|
|
A矩阵*B矩阵=B长度*A长度*cos(\theta)
|
|
|
|
|
$$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
等同于(GitHub展示):$`A矩阵*B矩阵=B长度*A长度*cos(\theta)`$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
我们做一个浅绿色的垂线,它就变成一个直角三角形。在数学三角函数中,cos的邻边等于cos(θ)乘以斜边。也就是A的长度乘以cos(θ),等于黑色的线(B上的黑色线)
|
|
|
|
|
|
|
|
|
|
<img src="../assets/image-20240430191813984.png" alt="image-20240430191813984" width="300" />
|
|
|
|
|