问题 填空题 函数f(x)=3sinax+cosax(a>0)的最小正周期为π,最大值为b,则logab=______. 答案 由题意,f(x)=3sinax+cosax=2sin(ax+π6)由于函数的最小正周期为π,最大值为b,故a=2,b=2,∴logab=1.故答案为1