cos^2(θ)=1-sin^2(θ) で
f(θ)=(1-sin^2θ)−sinθ+1
  =-sin^2(θ)−sinθ+2
sinθ=xと置換して
  x^2+x−2
  =(x+2)(x-1)
よって
x=1,-2
・・・と出ましたが・・・あってますか??