Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Scalar or Dot Product Lecture V1.2 Example 4 Moodle.

Similar presentations


Presentation on theme: "The Scalar or Dot Product Lecture V1.2 Example 4 Moodle."— Presentation transcript:

1 The Scalar or Dot Product Lecture V1.2 Example 4 Moodle

2 Definition of the Dot Product commutative law

3 Distributive Law

4 Dot Product and Vector Components 1 0

5 Dot Product Properties 1 0 If B = A, then.

6 Given the vectors and find. Matlab Example 1 = (1)(3) + (-2)(1) + (4)(-2) = 3 – 2 – 8 = -7 >> A = [1 -2 4] A = 1 -2 4 >> B = [3 1 -2] B = 3 1 -2 >> AdotB = dot(A,B) AdotB = -7 >>

7 Given the vectors and find the angle between A and B. Matlab Example 2 >> A = [1 -2 4] A = 1 -2 4 >> B = [3 1 -2] B = 3 1 -2 >> phi = (acos(dot(A,B)/(norm(A)*norm(B))))*180/pi phi = 114.0948 >>


Download ppt "The Scalar or Dot Product Lecture V1.2 Example 4 Moodle."

Similar presentations


Ads by Google