Tide Height Cosine Curve
Interpolate tide height on a cosine curve from heightM = lowWaterMeters + (highWaterMeters - lowWaterMeters) * (cos(PI * hoursFromHigh / 6) + 1) / 2.
Description
Interpolate tide height on a cosine curve from heightM = lowWaterMeters + (highWaterMeters - lowWaterMeters) * (cos(PI * hoursFromHigh / 6) + 1) / 2.