minimum tide is 10m and maximum is 22m, so therefore the mean is 16m.

So to get the corresponding times you need to solve f(x) = 16. I am assuming you have already calculated a, b and k correctly.

And yes in 24hr hour time, 5am = 05:00 and 5pm = 17:00.