How to calculate vector dot product and cross product?

How to calculate vector dot product and cross product?

Point multiplication yields a numerical value: the product of two vector modules multiplied by the cos of their angle
The result of cross multiplication is a vector: the size is the product of two vector modules, and then multiplied by the sin of their angle, and the direction and two vectors are perpendicular