f(x)= sin(2x+pai/6)-cos(2x+pai/3)+2cos^2x