已知函数f(x)=sin(x/2)cos(x/2)+根号3[cos(x/2)]^2.求当x属于[0,pai]时,f(x)