Skip to main content

learn.howToCalculate

learn.whatIsHeading

The dot product A·B = |A||B|cos(θ) produces a scalar measuring how much two vectors point in the same direction. A·B=0 means they are perpendicular. Fundamental in physics, machine learning, and computer graphics.

단계별 가이드

  1. 1A·B = a₁b₁ + a₂b₂ + a₃b₃ (component form)
  2. 2cos(θ) = A·B / (|A||B|)
  3. 3|A| = √(a₁² + a₂² + a₃²)

풀어진 예시

입력
A=[1,2,3] · B=[4,5,6]
결과
A·B = 4+10+18 = 32 · θ = 12.9°
Small angle = similar direction

설정

개인정보이용약관정보© 2026 PrimeCalcPro