How do you solve #cosx=1+sin^2x# in the interval #0<=x<=2pi#?