The dot product or scalar product is an algebraic operation that takes two equal-length sequences of numbers (usually coordinate vectors), and returns a single number
it is given by.
so, we can find the dot product by multiplying the corresponding values in each vector and adding them together