How do you convert #y = sin (300t)# into a cosine function?

Redirected from "How do I solve #y'' + y = -2 sin(x)# with the initial conditions #y(0) = 0# and #y'(0) = 1#?"