f(x)=(cos2x+1)/2+√3*sin2x/2+a
=sin(2x+π/6)+1/2+a
所以当x∈[0,π/2]
那么
2x+π/6∈[π/6,7π/6]
所以最小值
f(x)=sin(7π/6)+1/2+a
=-1/2+1/2+a
=a=2
所以a=2
f(x)=(cos2x+1)/2+√3*sin2x/2+a
=sin(2x+π/6)+1/2+a
所以当x∈[0,π/2]
那么
2x+π/6∈[π/6,7π/6]
所以最小值
f(x)=sin(7π/6)+1/2+a
=-1/2+1/2+a
=a=2
所以a=2