Linear Algebra

Scalar Product

Given two vectors the scalar product, the length of the two vectors and the included angle are calculated.

Example:

  ->  |  1  |     ->  |  5  |
  a = |  3  |     b = |  0  |
      |  1  |         |  3  |
           
Scalar product of the vec.  = 8

Length of the first vector  = 3.32

Length of the second vector = 5.83

included angle   α = 65.56°

See also:

Wikipedia: Dot product
eng.matheass.eu