How do you solve #2cos^2x+3sinx=3# in the interval #0<=x<=2pi#?