h = 8 sin [π/10(t-5) ] + 9

covert to cosine??

cos(pi/2 - x) = sin(x)

so,
cos(π/2 - π/10(t-5)) = sin(π/10(t-5))

you should probably simplify that.