已知函数y=sin^2x-sinx+1(x∈R)