193k views
2 votes
Find the dot product of the vectors u = [2, 3, 4] and v = [5, 6, 7].

User Russ
by
8.0k points

1 Answer

1 vote

Answer:

Explanation:

The dot product of two vectors u and v is given by the formula:

u · v = u[0] * v[0] + u[1] * v[1] + u[2] * v[2]

where u[0], u[1], and u[2] are the components of vector u and v[0], v[1], and v[2] are the components of vector v.

Plugging in the values from the vectors u = [2, 3, 4] and v = [5, 6, 7], we get:

u · v = 2 * 5 + 3 * 6 + 4 * 7 = 10 + 18 + 28 = 56

Therefore, the dot product of the vectors u and v is 56.

User Bhinks
by
7.8k points