Download LabVIEW User Manual

Transcript
Chapter 18
Linear Algebra
a=2i+4j
α = 36.86°
b=2i+j
Then the dot product of these two vectors is given by
d = 2 • 2 = (2 × 2) + (4 × 1) = 8
4
1
The angle α between these two vectors is given by
a•b
8
α = inv cos  ------------  = inv cos  ------  = 36.86 o ,
a b
 10 
where |a| denotes the magnitude of a.
Force a
Body
α
α
d
As a second application, consider a body on which a constant force a acts.
The work W done by a in displacing the body is defined as the product of
|d| and the component of a in the direction of displacement d. That is,
W = a d cos α = a • d
© National Instruments Corporation
18-11
LabVIEW User Manual