已知函数f(x)=
( I)当x∈(0,
(II)设△ABC的内角A,B,C的对边分别为a,b,c,且c=
|
( I)∵f(x)=
sinxcosx-cos2x-3
=1 2
sin2x-3 2
-1+cos2x 2
=sin(2x-1 2
)-1,x∈(0,π 6
),π 2
∴2x-
∈(-π 6
,π 6
),∴-5π 6
<sin(2x-1 2
)≤1,∴-π 6
<f(x)≤0,即函数f(x)的值域为(-3 2
,0].3 2
(II)△ABC中,∵f(C)=sin(2C-
)-1=0,∴sin(2C-π 6
)=1,∴2C-π 6
=π 6
,∴C=π 2
.π 3
∵
∥m
,n
=(1,sinA)与向量 m
=(2,sinB),∴sinB-2sinA=0,由正弦定理可得 b=2a.n
又 cosC=
=a2+b2- c2 2ab
,解得a=1,b=2.1 2