sgn(8*cos^4 x - 8* cos^3 (x) -cosx + 1)