We now consider the first of two types of vector multiplication. The second type will
be discussed in the following section.
Given two vectors A and B, the dot product, or scalar product, is defined as the
product of the magnitude of A, the magnitude of B, and the cosine of the smaller
angle between them,
A· B = |A| |B| cos θAB (