
can be calculated with the equation
where

is the period in time for one cycle or oscillation. In the case of the harbour, if working in hours,

, or if working in seconds

.
In the question why did they put "If d is the depth of the water above the mean depth"? Why mention of water ABOVE the mean depth?
So then i guess if they're looking for the answer in hours it would be: