### Solve the following problem using analytical techniques: Suppose you walk 18.0 m straight west and then 25.0 m straight north. How far are you from your starting point, and what is the compass direction of a line connecting your starting point to your final position? (If you represent the two legs of the walk as vector displacements A and B , as in Figure 3.60, then this problem asks you to find their sum R = A + B .)

### Note that you can also solve this graphically. Discuss why the analytical technique for solving this problem is potentially more accurate than the graphical technique.

**SOLUTION:**

Consider the right triangle formed by the legs A, B, and R. We know that A is 18 m, B is 25 m, and we are solving for the magnitude of R. We can do this by using the Pythagorean Theorem. That is

So, the distance is about 30.8 meters from the starting point. To solve for the value of the unknown angle, θ, we can use the tangent function. That is

So, the compass reading, can be solved by taking the complimentary angle, as shown in the figure.

Therefore, the compass angle is