If you keep track of the total displacement in x and y, this problem becomes simple as it just will need pythagorean theorem at the end. So let's see how this works.
Note that in the first leg (A) the vector points in the positive x and positive y directions, so as a sanity check we should find (if we did it correctly) that x and y are positive.
Note that the angle is 35 degrees (when using the calculator make sure it is in degree mode!).
Now we need some trigonometry, note SOH, CAH, TOA (you may need to review this if it does not look familiar to you). The x component of the vector can be calculated by using CAH, which means that
cos(35) = A/H,
but H is the hypotenuse and we know the length of H. H = 3km.
so
cos(35) = A/3 which means 3cos(35) = A
note that A in this case is just the x component so
3cos(35) = x and thus x = 2.4575 km (rounded to 4 decimal places).
Similarly for y
sin(35) = O/H which means sin(35) = O/3 and finally
3sin(35) = y (since O is the y direction in this triangle).
y = 1.7207 km (again rounded to 4 decimals)
Now for the second leg
For our sanity check, note that this vector is pointing in the NEGATIVE x direction and the positive y direction. So when we do our calculations this is what we should find.
Note that from the diagram theta_2 is the angle measured away from 180 degrees in this case so the angle that we need is 180 - theta_2 which is 180-34 = 146 degrees.
This leg was 5 km long so (again by making the same triangles we did before)
x = 5cos(146) = -4.1452 km (rounded to 4 decimals, I will just round all to 4 decimals from here on out)
y = 5sin(146) = 2.7960 km
Now for the third leg. Note that this points in the negative x and negative y direction so we should find they are both negative.
Note here the angle is again measure from 180 degrees, but this time the angle should be greater than 180 (look at the angle and this should become clear).
So the angle we need is 180+20 = 200 degrees.
x = 4.5cos(200) = -4.2286 km
y = 4.5sin(200) = -1.5391km
Ok now we want the total displacement away from the starting point, so just add up all of the x values and y values
x = 2.4575 -4.1452 - 4.2286 = -5.9163 km (displacement)
y = 1.7207 + 2.7960 - 1.5391 = 2.9776 km
This makes sense because we need to go in the negative y direction to get back to the starting spot, so our displacement in the y direction must have been positive!
Now we just need pythagorean theorem to figure out the length of the last leg
x^2+y^2 = D^2, so D = sqrt(x^2+y^2) = 6.6233 km.

Jeremie F.
06/02/23

Jeremie F.
06/02/23
Alanis R.
Thank you very much!06/02/23
Alanis R.
Thank you for your answer, but where is angle 4 and dy?06/02/23