Calculate the dot (scalar) product of two three-dimensional vectors, a key operation in physics and computer graphics for finding angles and projections.
Formula
A · B = a₁b₁ + a₂b₂ + a₃b₃