ベクトル射影の計算
入力
| a の x 成分 | 3 |
|---|---|
| a の y 成分 | 4 |
| a の z 成分 | 0 |
| b の x 成分 | 1 |
| b の y 成分 | 0 |
| b の z 成分 | 0 |
ベクトル射影の計算
入力
ベクトル a(射影される側)
ベクトル b(射影する方向)
結果
値を入力すると計算結果が表示されます。
詳細
計算過程
\begin{aligned} \operatorname{comp}_{\mathbf{b}}\mathbf{a} &= \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{b}|} \\ &= \frac{?}{?} \\ &= ? \end{aligned}
\begin{aligned} p_x &= \frac{\mathbf{a} \cdot \mathbf{b}}{\mathbf{b} \cdot \mathbf{b}}\, b_x \\ &= \frac{?}{{\text{?}}}(1) \\ &= ? \end{aligned}
\begin{aligned} p_y &= \frac{\mathbf{a} \cdot \mathbf{b}}{\mathbf{b} \cdot \mathbf{b}}\, b_y \\ &= \frac{?}{{\text{?}}}(0) \\ &= ? \end{aligned}
\begin{aligned} p_z &= \frac{\mathbf{a} \cdot \mathbf{b}}{\mathbf{b} \cdot \mathbf{b}}\, b_z \\ &= \frac{?}{{\text{?}}}(0) \\ &= ? \end{aligned}
\begin{aligned} r_x &= a_x - p_x \\ &= 3 - (?) \\ &= ? \end{aligned}
\begin{aligned} r_y &= a_y - p_y \\ &= 4 - (?) \\ &= ? \end{aligned}
\begin{aligned} r_z &= a_z - p_z \\ &= 0 - (?) \\ &= ? \end{aligned}