Title: CPE 332 Computer Engineering Mathematics II
1CPE 332Computer Engineering Mathematics II
2Web Site
- http//cpe.rsu.ac.th/ut
- Download Material, Course Notes
- Download Slides
- Download HW/QZSolutions
- Grading
- Announcements
- Resources
3Today 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)
5CPE 332 T1-56 Wk2
6Definition of Vector
7Definition of Vector
8(No Transcript)
9(No Transcript)
10Notes
- ????????? Vector ???????????????????
?????????????? Vector ??????????? - ?????????????????? Scalar
- ?????????? ???????????? Unit Vector
??????????????????? Vector ???? -
- ?????????????? ?????????????? Component ?????
Coordinate (x,y,z) ??????????????????????????????
? Coordinate - ?????????????? Ratio ???????????????????
- ???????????????????
- ????????????????????? ???????????? Component
i,j,k ????? x,y,z - ?????????????? Cosine ??????
- ???????????????????????????? Unit Vector
11Vector Operations
- ????????? Vector ???????????????????????????
- ??????? ???? ??? ?? ??? ??? ?????????????? Scalar
????????????????????????????????????????? - ??? ???-?? ??? Vector ????? Vector
??????????????????????????????? - ?????? ???????????????? Multiplication
????????????? Product ????????????????? - Scalar Product (Dot Product ?) ????? Scalar
- Vector Product (Cross Product X) ????? Vector
????????????? Vector ???????????
12Addition and Substraction
13(No Transcript)
14(No Transcript)
15???????????????? Plane Geometry
16(No Transcript)
17(No Transcript)
18(No Transcript)
19r
20Component Vector
21Component Vector in Cartesian Coordinate
22Addition-Subtraction using Component Vector and
Position Vector
23- ??????????????? Vector ????????????? Position
Vector ??????????????????? Position Vector
24Any 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
25Any 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
26Direction Cosine/Ratio
- Vector ????????????????????????????
- ???? ??????????????? ???? Position Vector
- ?????? ??? Unit Vector ??????????????????????
Vector ???? - ?????? ????????????? Component Vector
????????????????? - ???????????????????????????????????????????????
- ????????????? ????????????????????????
?????????????????? Cosine ?????? ????? Direction
Cosine
27Direction 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
28Direction Cosine and Direction Ratio
29Direction Cosine and Direction Ratio
30Example
- 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
31Direction Cosine and Direction Ratio
32Scalar Product(DOT)
33Scalar Product (DOT)
34Scalar(Dot) Product
A
?
n
A?nAcos?
35Scalar(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
36DOT Product
37Example
- 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
38Vector Product (Cross)
39Cross Product
40(No Transcript)
413 Vector Products
42Examples
- 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
43Plane Equation in 3D
- ?? 2D ???????????????? general Form
- AxByC
- ?? 3D ???????? Plane ???? General Form
- AxByCzD
- D ???????????? ?????????????????????? ?????? D
??????? ????????????????????? - 3x-2y5z 3 ????????? 3x-2y5z 6
44Example 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 ???????????????
46Example 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
47HW for Chapter 1 ??????????????
- ??????????? Download ??????? 1
- ??????????? 1 ????????????????????
- Sheet ??? Download ??
- ?????????????????????????????????
- ????????????????????????????