f(x)=2(cosx)^2+√3sin2x+a=1+cos2x+√3sin2x+a=2sin(2x+π/6)+a+1,x∈(0,π/2),∴π/6<2x+π/6<7π/6,∴-1/2∴a(1)f(x)最大值=a+3,无最小值.(2)|f(x)|<2,∴-2<=a,且a+3<2,解得-2<=a<-1,∴a的最小值=-2.