1.

3. Give two definitions of dot product

Answer»

In mathematics,the dot productorscalar productis an algebraic operation that takestwoequal-length sequences of numbers (usually coordinate vectors) and returns a single number. ... Geometrically, it isthe productoftheEuclidean magnitudes ofthe twovectors andthecosine oftheangle between them

In mathematics,the dot productorscalar productis an algebraic operation that takestwoequal-length sequences of numbers (usually coordinate vectors) and returns a single number. ... Geometrically, it isthe productoftheEuclidean magnitudes ofthe twovectors andthecosine oftheangle between them.

Dot Product

A way of multiplying two vectors:

a · b= |a| × |b| × cos(θ)

Where || means "the magnitude (length) of"And θ is the angle between the vectors

Example: the lengths of two vectors are 3 and 4, and the angle between them is 60°So the dot product is:

a · b= 3 × 4 × cos(60°) = 3 × 4 × 0.5 = 6

like for like........



Discussion

No Comment Found

Related InterviewSolutions