Dot product:a·b = axbx + ayby + azbz = |a|·|b|·cos θ, a scalar. It gives the angle between two vectors, cos θ = a·b/(|a|·|b|), and it is zero when they are perpendicular. The scalar projection of a onto b is a·b/|b|, and a constant force F moving through a displacement d does work W = F·d.
内積
a·b = (−2)·(−2) + 7·(−4) + 4·2 = −16
b の長さ
|b| = √((−2)² + (−4)² + 2²) = 4.899
スカラー射影
compb a = a·b/|b| = −16/4.899 = −3.266
答え
compb a = −3.266
負:a には b と逆向きの成分があります。
2.ベクトル:内積と外積
答え: n̂y = 0.8835
Cross product:a × b = (aybz − azby, azbx − axbz, axby − aybx) is perpendicular to both vectors, and |a × b| = |a|·|b|·sin θ is the area of the parallelogram they span (the triangle has half of it). Order matters: b × a = −(a × b). The moment of a force F applied at point A about point O is MO = r × F, with r = A − O.