Compute the cosine interpolated value between y0 and y1 at t.
y0
y1
t
See [LinearInterpolate], [CubicInterpolate] and [HermiteInterpolate].