f(x)=(cosx)^2-2sinx,0