16.(本小题满分 12 分)
已知向量 $\boldsymbol{a}=\left(\cos x,-\frac{1}{2}\right), \boldsymbol{b}=(\sqrt{3} \sin x, \cos 2 x), x \in \boldsymbol{R}$,设函数 $f(x)=\boldsymbol{a} \cdot \boldsymbol{b}$.
(I)求 $\mathrm{f}(\mathrm{x})$ 的最小正周期.
(II)求 $\mathrm{f}(\mathrm{x})$ 在 $\left[0, \frac{\pi}{2}\right]$ 上的最大值和最小值.
参考答案:$f(x)=\vec{a} \cdot \vec{b}=\sqrt{3} \sin x \cos x-\frac{1}{2} \cos 2 x$ $$ \begin{aligned} & =\frac{\sqrt{3}}{2} \sin 2 x-\frac{1}{2} \cos 2 x \\ & =\sin \left(2 x-\frac{\pi}{6}\right) \end{aligned} $$ (I)$f(x)$ 的最小正周期