go to previous page   go to home page   go to next page

Answer:

What is the cosine of the angle between these unit vectors:

s   =   (1, 0, 1)T/2

t   =   (1, 1, 1)T/3

cosθ    =    (1, 0, 1)T  ·  (1, 1, 1)T / (2 3)

    =    2 / (2 3)
    
    =   2 / 3
    
    =   0.8164

Geometry

Snapshot
Please use a browser that supports "canvas"

The dot product formula can be used to work out some geometric problems that otherwise would be hard. In the figure, the red edges of the figure coincide with the coordinate axes. They share a mutual endpoint at (0, 0, 0). The edge along the x axis ends at x=2; the edge along the y axis ends at y=3; and the edge along the z axis ends at z=4. The remaining edges connect these endpoints.

Now say that you wanted to calculate the angle between the two green edges. This might be fairly tedious using trigonometry. But now you can:

  1. Form a vector for each green edge (by subtracting endpoints.)
  2. Normalize each vector.
  3. Use the dot product rule for the angle between them.

QUESTION 11:

What is the angle between the two green edges?