x∈[-π/6,π/3]
2x+π/6∈[-π/6,5π/6]
sin(2x+π/6)∈[-1/2,1]
函数f(x)的最小值为f(x)=-1/2+m=2
所以,m=5/2
函数最大值为f(x)=1+m=3.5
当f(x)为最大值时,2x+π/6=π/2,
x=π/3
所以,当 x=π/3时,最大值f(π/3)=3.5
x∈[-π/6,π/3]
2x+π/6∈[-π/6,5π/6]
sin(2x+π/6)∈[-1/2,1]
函数f(x)的最小值为f(x)=-1/2+m=2
所以,m=5/2
函数最大值为f(x)=1+m=3.5
当f(x)为最大值时,2x+π/6=π/2,
x=π/3
所以,当 x=π/3时,最大值f(π/3)=3.5