Vector Dot Product

Description

Here, we will find the dot product of two vectors $a$ and $b$, where

(1)
\begin{align} a = <1, 2, 3> \\ b = <4, 5, 6> \end{align}

Sage Cell

Code

a = vector([1, 2, 3])
b = vector([4, 5, 6])
a.dot_product(b)


none

Tags

Primary Tags:

Secondary Tags:

A list of possible tags can be found at The WeBWorK Open Problem Library. For linear algebra tags see the Curated Courses Project.

Related Cells

Any related cells go here. Provide a link to the page containing the information about the cell.