Calculating time for distance to reach 10 km

Two boats leave port at the same time. One traveling 4 kph at a bearing of 20° and the other at 6 kph ata bearing of 60°. Find how long before the distance between the ships is 10 km.

I've drawn the angles of the boats as they leave the port, the first angle at 20 degrees and the second at 60 degrees. I determined the difference between the two angles is 40 degrees. Now I'm not sure how to find the time it takes for the distance between the two ships to be 10 km, as I only have an angle and a side measure of 10 km so far. Any advice? Thanks in advance.

Re: Calculating time for distance to reach 10 km

The most straightforward way is to express the x- and y-coordinates of the boats as functions of time, then express the square of distance as a function of time and equate it to 100. You'll get a quadratic equation in time. However, writing this in exact form is cumbersome. This method is suitable if you only need a numerical solution for concrete distance and not, say, to express time as a function of distance.

A simpler solution that also allows expressing time as a function of distance (or vice versa) is to use the law of cosines.

Re: Calculating time for distance to reach 10 km

I think I am supposed to use the law of cosines but I'm not sure how to use that at this point because I only have a side and an angle.

Re: Calculating time for distance to reach 10 km

Quote:

Originally Posted by

**FatimaA** I think I am supposed to use the law of cosines but I'm not sure how to use that at this point because I only have a side and an angle.

The other two sides are 4t and 6t where t (the unknown) is time expressed in hours. The law of cosines gives you an equation in t.

Re: Calculating time for distance to reach 10 km

The first ship is travelling at 4km/h, so the distance it travels would be 4t km, where t is the number of hours.

The second ship is travelling at 6km/h, so the distance it travels would be 6t km, where t is the number of hours.

So you end up with a triangle with sides a = 4t, b = 6t, c = 10 and .

Apply the Cosine Rule to get an equation in terms of t which you can then solve for t.