f(x)=2sin(2wx+π/6),周期T=π/2*2=π=2π/2w,w=1
2sin(2C+π/6)=1,C=π/3
cosC=1/2=(a^2+b^2-c^2)2ab
a^2+b^2-9=ab
(a+b)^2-9=3a