
William W. answered 08/18/20
Experienced Tutor and Retired Engineer
It appears you have an error in your function. If it were really d(t) = 3.5cos(6t) + 4.5, then the period would be 2π/6 which is a little over an hour. What it should be, for the period to be 12 hours is d(t) = 3.5cos[(π/6)t] + 4.5
That function (d(t) = 3.5cos[(π/6)t] + 4.5) looks like this:
To find the times where the depth is 3 meters (the boundary condition between good and bad depth), we can set d(t) equal to 3 and solve for t:
d(t) = 3.5cos[(π/6)t] + 4.5
3 = 3.5cos[(π/6)t] + 4.5
-1.5 = 3.5cos[(π/6)t]
-3/7 = cos[(π/6)t]
cos-1(-3/7) = cos-1(cos[(π/6)t])
2.0137 = (π/6)t
t = 2.0137/(π/6)
t = 3.846 hrs
We can see by the graph that that is the first place where the function crosses below the 3 meter line.
We can also see that the function is symmetrical about t = 6 so the place it crosses the second time (on it's way back up) is the same distance from t = 6. So 6 - 3.846 = 2.154 and 2.154 + 6 = 8.154. So the second place the function crosses the 3 meter line is at t = 8.154 hours.
Also, notice that after 12 hours, the function repeats, so the third place it crosses the 3 meter line will be at 12 + 3.846 hours or 15.846 hrs.
The 4th place it crosses the 3 meter line is at 12 + 8.154 hours or 20.154 hours.
So the times when it is safe to swim are: [0, 3.846] U [8.154, 15.846] U [20.154, 24] (numbers in hours) Since we are not given a "start time" these are just hours after the high tide.