How do you solve #cos^2x=1-sinx# between the interval #0<=x<=2pi#?