1 / 16

Addition and Subtraction of Vectors

Addition and Subtraction of Vectors. Lecture V1.1 Example 1 Moodle. Vectors have a magnitude and direction. Addition of Vectors. The resultant vector R = A + B. Shift B. Shift A. R = A + B = B + A. commutative law. A + B + C. D = A + B + C.

ayanna
Download Presentation

Addition and Subtraction of Vectors

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Addition and Subtraction of Vectors Lecture V1.1 Example 1 Moodle

  2. Vectors have a magnitude and direction

  3. Addition of Vectors The resultant vector R = A + B Shift B Shift A R = A + B = B + A commutative law

  4. A + B + C D = A + B + C D = (A + B) + C D = A + (B + C) D = A + B + C = (A + B) + C = A + (B + C) associative law

  5. Subtraction of Vectors R = A + B R + (-A) = B R - A = B

  6. D = A - B

  7. Unit Vectors and Coordinate Systems Ay = Ayj A = Axi + Ayj. Ax = Axi Ax = A cos q Ay = A sin q

  8. Addition of Vectors by Components R = Rxi + Ryj = (Ax+ Bx)i + (Ay+ By)j Rx = Ax+ Bx Ry = Ay+ By

  9. 3-Dimensional Vectors A = Axi + Ayj + Azk

  10. 3-Dimensional Vectors Ax = R cos f Ay = R sin f Az = A cosq R = A sin q Ax = A sin q cos f Ay = A sin q sin f Az = A cos q

  11. Direction Cosines = 1

  12. Matlab Example 1 Given the vectors A = i – 2j + 4k and B = 3i + j - 2k, find R = A + B. >> A = [1 -2 4] A = 1 -2 4 >> B = [3 1 -2] B = 3 1 -2 >> R = A + B R = 4 -1 2 >>

  13. Use column vectors >> A = [1; -2; 4] A = 1 -2 4 >> B = [3; 1; -2] B = 3 1 -2 >> R = A + B R = 4 -1 2 >>

  14. Matlab Example 2 FindA = |A| andB = |B| for the vectors A = i – 2j + 4k and B = 3i + j - 2k >> A = [1 -2 4] A = 1 -2 4 >> magA = norm(A) magA = 4.5826 >> B = [3 1 -2] B = 3 1 -2 >> magB = norm(B) magB = 3.7417 >>

  15. Matlab Example 3 Find the unit vector lA in the direction of the vector A = i – 2j + 4k >> A = [1 -2 4] A = 1 -2 4 >> lambdaA = A/norm(A) lambdaA = 0.2182 -0.4364 0.8729 >>

  16. Matlab Example 4 Find the direction cosines of thevector A = i – 2j + 4k >> A = [1 -2 4] A = 1 -2 4 >> l = A(1)/norm(A) l = 0.2182 >> m = A(2)/norm(A) m = -0.4364 >> n = A(3)/norm(A) n = 0.8729 >>

More Related