# Starting With Weights and Vectors

Copied!
Happy Pythoning!

Rick Hubbard

Do not understand the dot product coordinate system used in this lesson.

Is it |magnitude_a| * |magnitude_b| * cos(theta)? Or, is it ((vector_1_x * vector_2_x) + (vector_1_y) * (vector_2_y))?

Further, the coordinates in the python code (~00:40; for example: `input_vector = [1.72, 1.23]`) do not seem to reflect the vectors as shown on the chart (00:00 - ~00:39; for example: the chart’s input vector Cartesian coordinates seem to be ~(2.3, 2.1) and ~(4.1, 4.2)).

Is the python code intended to reflect the chart’s coordinantes? If so, are there typos on the chart?

Also, the apparent difference between the chart and the coordinates is unclear (at least to me) as to which coordinate value is [presumably] the x-value and which is the y-value. Although I believe I understand `weights_1 = [1.26, 0]`, it sure seems like the x-Cartesian coord and y-Cartesian coord are reversed. Is this the case?

Or, am I completely missing the point?

Any help gaining an understanding regarding this question is invited and warmly welcomed!

to join the conversation.