Two patrol boats M3 and M7 leave a port at the same time. M3 heads due West and M7 on a bearing 282 degrees. After one hour M7 has travelled 20.1 nautical miles and observe M3 in a direction due south.

a. How far is M3 from M7?
b. How far has M3 travelled?

A ships sails from Sydney Harbour on a bearing 050 degrees. After the ship has sailed 30 nautical miles how far is it east of Sydney? Give your answer to the nearest nautical mile.

We can draw a right triangle to represent the ship's path:

```
Sydney
|
| 050°
|\
| \
| \
| \
| \
| \
| \
--------x (30 nautical miles east of Sydney)
```

The angle at Sydney is 90 degrees, and the angle opposite the distance we want to find (which we can call y) is 50 degrees. We can use trigonometry to find y:

```
y = 30 * sin(50) = 23 nautical miles (rounded to the nearest nautical mile)
```

So the ship is about 23 nautical miles east of Sydney.

To find the distance between M3 and M7, you can use trigonometry and the given information.

a. How far is M3 from M7?

Step 1: Draw a diagram to represent the scenario.

M3
|
|
--------------
|
M7

Step 2: Identify the right-angled triangle formed by M3, M7, and their observed position after one hour.

M3
|
|
--------------
| /
| /
|/
M7

Step 3: Use trigonometry to find the distance between M3 and M7.

Since M7 observed M3 in a direction due south, the angle between M3, M7, and the line connecting them is 90 degrees. The side opposite this angle would be the distance between M3 and M7.

M3
|
20.1 |
|
--------------
| /
| /
|/

Let's call the distance between M3 and M7 "d". Using the Pythagorean theorem:

d^2 = (20.1)^2 + x^2, where x is the distance M3 has traveled.

Since M7 traveled West along the bearing 282 degrees, its distance traveled would be the adjacent side of the right-angled triangle. To find this distance, we can use trigonometry:

cos(282) = adjacent/hypotenuse
cos(282) = x/d

Solving for x:

x = d * cos(282)

Now, substitute this into the Pythagorean equation:

d^2 = (20.1)^2 + (d * cos(282))^2

Solve the equation for "d" by finding the square root of both sides:

d = sqrt((20.1)^2 + (d * cos(282))^2)

To find the value of "d," you can use numerical methods such as graphing calculators, mathematical software, or iterative methods like Newton's method to solve the equation.

b. How far has M3 traveled?

To find the distance M3 has traveled, we need to use the trigonometric relationship we derived earlier:

x = d * cos(282)

After determining the value of "d" in part a, substitute it into this equation to find the distance M3 has traveled.

a. To find the distance between M3 and M7, we can use trigonometry. Let x be the distance between them, and let y be the distance that M3 has travelled (which we will solve for in part b). Then we can draw a triangle:

```
M3 (due west)
|\
| \
| \ x
| \
| \
| \
M7----O (bearing 282 degrees)
y
```

The angle at O is 90 degrees (because M7 is due south of M3), so the angle at M7 is 90 - 282 = 78 degrees. We can use the sine rule to find x:

```
sin(78) sin(90)
------- = -------
x 20.1
```

Rearranging, we get:

```
x = sin(78) * 20.1 / sin(90) = 19.6 nautical miles (rounded to one decimal place)
```

So M3 is about 19.6 nautical miles from M7.

b. To find how far M3 has travelled, we can again use trigonometry. Let z be the distance between M3 and the point where M7 first observed it (which we can call P), and let w be the distance that M3 has travelled from the port. Again, we can draw a triangle:

```
M3 (port)---P--------O (282 degrees)
w z
```

The angle at P is 90 degrees (because M7 observed M3 due south), so the angle at O is 90 - 282 = -192 degrees (counting clockwise from due north). We can use the cosine rule to find z:

```
z^2 = w^2 + 20.1^2 - 2*w*20.1*cos(-192)
```

We can simplify the cosine term using the identity cos(-x) = cos(x):

```
z^2 = w^2 + 20.1^2 + 2*w*20.1*cos(12)
```

Now we need to use the sine rule to relate the angle between w and z (which we can call theta) to the known angle at O:

```
sin(theta) sin(12)
--------- = -------
z 20.1
```

Rearranging, we get:

```
theta = arcsin(z * sin(12) / 20.1)
```

Now we can use the sine rule again to find w:

```
sin(theta) sin(78)
--------- = -------
w 19.6
```

Rearranging and substituting for theta, we get:

```
w = sin(arcsin(z * sin(12) / 20.1)) * 19.6 / sin(78)
```

We can simplify the arcsin term using the identity arcsin(sin(x)) = x (if x is between -90 and 90 degrees):

```
w = z * sin(12) / sin(78)
```

Substituting the expression for z from earlier and simplifying, we get:

```
w = (20.1^2 - 19.6^2)^0.5 * sin(12) / sin(78) = 18.7 nautical miles (rounded to one decimal place)
```

So M3 has travelled about 18.7 nautical miles.