explain dot product and cross product with eg.
The dot product, also called the scalar product, of two vectors is a number (scalar quantity) obtained by performing a specific operation on the vector components.
Mathematically it is defined as,
Where θ is the angle between the two vectors.
The cross product is the vector product of two vectors. The cross product of two vectors is always perpendicular to the plane on which the two vectors lies.
It is given by,