f(x)=(1+cos2x)/[4sin(pai/2+x)]-asin(x/2)cos(pai-x/2)的最大值为2,求