Assumption:

In the original question there was an added statement which reads as:

The water level in a harbor can be assumed to rise and fall with simple harmonic motion.

Justification:

I still have to look into this seriously. Meanwhile, I will appreciate any input from the you.