b)\(P=cos2a-cos(\dfrac{\pi}{3}-a) \\=2cos^2a-1-cos\dfrac{\pi}{3}cosa-sin\dfrac{\pi}{3}sina \\=2.(\dfrac{-2}{5})^2-1-\dfrac{1}{2}.\dfrac{-2}{5}-\dfrac{\sqrt3}{2}.\dfrac{-\sqrt{21}}{5} \\=\dfrac{-24+15\sqrt7}{50}\)
a, Vì : \(\pi< a< \dfrac{3\pi}{2}\) nên \(cos\alpha< 0\) mà \(cos^2\alpha=1-sin^2\alpha=1-\dfrac{4}{25}=\dfrac{21}{25},\)
do đó : \(cos\alpha=-\dfrac{\sqrt{21}}{5}\)
từ đó suy ra : \(tan\alpha=\dfrac{2}{\sqrt{21}},cot\alpha=\dfrac{\sqrt{21}}{2}\)