How do you find all solutions to the equation in the interval [0,2pi] given #cos2x + sinx = 0#?

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