CPE 332 Computer Engineering Mathematics II - PowerPoint PPT Presentation

About This Presentation
Title:

CPE 332 Computer Engineering Mathematics II

Description:

CPE 332 Computer Engineering Mathematics II Chapter 1 Vector Plane Equation in 3D 2D general Form Ax+By=C ... – PowerPoint PPT presentation

Number of Views:128
Avg rating:3.0/5.0
Slides: 48
Provided by: iLLU129
Category:

less

Transcript and Presenter's Notes

Title: CPE 332 Computer Engineering Mathematics II


1
CPE 332Computer Engineering Mathematics II
  • Chapter 1 Vector

2
Web Site
  • http//cpe.rsu.ac.th/ut
  • Download Material, Course Notes
  • Download Slides
  • Download HW/QZSolutions
  • Grading
  • Announcements
  • Resources

3
Today Topics
  • Period 1
  • Course Outlines
  • Course Web Site
  • Part I Chapter 1 Vector (Review)
  • Breaks
  • Period II
  • Part I Chapter 1 Vector (Review)
  • Assignment
  • Homework I ?????????????? ??????????????????
  • ??????? Sheet ???????? ??? Download ??????????
  • Next Week ??? Chapter 2 ?????? Matrix

4
(No Transcript)
5
CPE 332 T1-56 Wk2
6
Definition of Vector
7
Definition of Vector
8
(No Transcript)
9
(No Transcript)
10
Notes
  • ????????? Vector ???????????????????
    ?????????????? Vector ???????????
  • ?????????????????? Scalar
  • ?????????? ???????????? Unit Vector
    ??????????????????? Vector ????
  • ?????????????? ?????????????? Component ?????
    Coordinate (x,y,z) ??????????????????????????????
    ? Coordinate
  • ?????????????? Ratio ???????????????????
  • ???????????????????
  • ????????????????????? ???????????? Component
    i,j,k ????? x,y,z
  • ?????????????? Cosine ??????
  • ???????????????????????????? Unit Vector

11
Vector Operations
  • ????????? Vector ???????????????????????????
  • ??????? ???? ??? ?? ??? ??? ?????????????? Scalar
    ?????????????????????????????????????????
  • ??? ???-?? ??? Vector ????? Vector
    ???????????????????????????????
  • ?????? ???????????????? Multiplication
    ????????????? Product ?????????????????
  • Scalar Product (Dot Product ?) ????? Scalar
  • Vector Product (Cross Product X) ????? Vector
    ????????????? Vector ???????????

12
Addition and Substraction
13
(No Transcript)
14
(No Transcript)
15
???????????????? Plane Geometry
16
(No Transcript)
17
(No Transcript)
18
(No Transcript)
19
r
20
Component Vector
21
Component Vector in Cartesian Coordinate
22
Addition-Subtraction using Component Vector and
Position Vector
23
  • ??????????????? Vector ????????????? Position
    Vector ??????????????????? Position Vector

24
Any vectors in Cartesian Coordinates
  • Given 2 Points, P(x1,y1,z1) and Q(x2,y2,z2)
  • We have OPPQOQ
  • Then PQ OQ OP
  • PQ x2iy2jz2k x1iy1jz1k
  • PQ (x2-x1)i(y2-y1)j(z2-z1)k

Z
Q(x2,y2,z2)
O
Y
P(x1,y1,z1)
X
25
Any vectors in Cartesian Coordinates
  • Given 2 Points, P(x1,y1,z1) and Q(x2,y2,z2)
  • PQ (x2-x1)i(y2-y1)j(z2-z1)k
  • Also magnitude or length of vector is the
    distance between those 2 points (Euclidian
    Distance)
  • PQ ?(x2-x1)2(y2-y1)2(z2-z1)2

Z
Q(x2,y2,z2)
O
Y
P(x1,y1,z1)
X
26
Direction Cosine/Ratio
  • Vector ????????????????????????????
  • ???? ??????????????? ???? Position Vector
  • ?????? ??? Unit Vector ??????????????????????
    Vector ????
  • ?????? ????????????? Component Vector
    ?????????????????
  • ???????????????????????????????????????????????
  • ????????????? ????????????????????????
    ?????????????????? Cosine ?????? ????? Direction
    Cosine

27
Direction Cosine
  • Position vector OP
  • Magnitude equal to OP ?x2y2z2
  • Direction cos?icos?jcos?k
  • Called Direction Cosine

F3
We have cos?F1/OP cos?F2/OP cos?F3/OP
F2
F1
28
Direction Cosine and Direction Ratio
29
Direction Cosine and Direction Ratio
30
Example
  • Given points P1(2,-4,5) and P2(1,3,-2), find the
    vector P1P2 and its magnitude and direction
  • OP1 2i-4j5k and OP2 i3j-2k
  • P1P2OP2-OP1-i7j-7k
  • P1P2 ?14949?99
  • Cos ? -1/?99 then ? 95.8 degree
  • Cos ? 7/?99 then ? 45.3 degree
  • Cos ? -7/?99 then ? 134.7 degree

31
Direction Cosine and Direction Ratio
32
Scalar Product(DOT)
33
Scalar Product (DOT)
34
Scalar(Dot) Product
A
?
n
A?nAcos?
35
Scalar(Dot) Product
  • A?(BC)A?BA?C
  • Let A a1ia2ja3k, B b1ib2jb3k
  • We have A?B a1b1a2b2a3b3
  • Also
  • Given Saibj, the equation of line perpendicular
    to this vector is in the form
  • axbyc

Line axbyc
Saibj
36
DOT Product
37
Example
  • Find the angle between the vector
  • Ai-j-k and B 2ij2k
  • We calculate A?B 1.2-1.1-1.2-1
  • Also A ?(111)?3
  • Also B ?(414)3
  • Then Cos ? -1/3?3
  • ? 101.1 degrees

38
Vector Product (Cross)
39
Cross Product
40
(No Transcript)
41
3 Vector Products
42
Examples
  • Let A2i3j-k, Bij2k
  • A?B 23-2 3
  • A?B (61)i-(41)j(2-3)k7i-5j-k
  • A?B is orthogonal to both A and B
  • Test A?(A?B) (2i3j-k)?(7i-5j-k)
    14-1510
  • Test B?(A?B) (ij2k)?(7i-5j-k) 7-5-20

43
Plane Equation in 3D
  • ?? 2D ???????????????? general Form
  • AxByC
  • ?? 3D ???????? Plane ???? General Form
  • AxByCzD
  • D ???????????? ?????????????????????? ?????? D
    ??????? ?????????????????????
  • 3x-2y5z 3 ????????? 3x-2y5z 6

44
Example 1
  • ????????????? Plane 2x3y2z5 ???? unit vector
    ????????????? Plane ???
  • ????? 3 ??? ??? A, B, C ??????
  • A x0,y0,??????? z5/2 ? A(0,0,2.5)
  • B x1,y0, ??????? z(5-2)/2 ? B(1,0,1.5)
  • C x0,y1, ??????? z(5-3)/2 ? C(0,1,1)
  • Vector AB x AC ????? Vector ????????????? Plane

45
  • ?????????????? Vector ??????? multiple ???
    2i3j2k ???????????? Plane 2x3y2zk ????
    ?????? k ???????????????

46
Example 2
  • ???????????? Plane ????????????? Vector 3i-2j-k
    ?????????????? (1,1,2) ?????? Plane ????
  • ??????????????? ?????????????? Plane ????
    3x-2y-z k
  • ???????? k ???????????? (1,1,2) ???????????????
    3(1)-2(1)-(2)-1k
  • ???????????????????????????? 3x-2y-z10

47
HW for Chapter 1 ??????????????
  • ??????????? Download ??????? 1
  • ??????????? 1 ????????????????????
  • Sheet ??? Download ??
  • ?????????????????????????????????
  • ????????????????????????????
Write a Comment
User Comments (0)
About PowerShow.com