A 2D dot product
Du skriver inn
- Dimensjon
- 2D
- Operasjon
- Dot product
- A
- 1; 2
- B
- 3; 4
Du får
- Resultat
- 11
- Lengden av A
- 2.236068
- Lengden av B
- 5
- Skalarprodukt A · B
- 11
The dot product is 1 × 3 + 2 × 4 = 11. The length of A is the square root of 1² + 2², which is about 2.236068, and the length of B is the square root of 25, which is 5.
Kjørt med verktøyets egen kode.