已知函数y=二分之一cos2x+二分之根号三sinxcosx+1(x∈R).+求f(x)在【π