--.-- \(-\pi>-\frac{3}{2}\pi\) mà
Chắc nhầm đề rồi, phải là \(-\pi>a>-\frac{3}{2}\pi\)mới đúng chứ
\(-\pi>a>-\frac{3}{2}\pi\Leftrightarrow\pi>a>\frac{1}{2}\pi\)
\(\cos a=-\frac{4}{5}\Rightarrow\sin a=\frac{3}{5}\)
\(\sin2a=2\sin a.\cos a=2.\frac{3}{5}.\frac{-4}{5}=-\frac{24}{25}\)
\(\cos2a=2\cos^2a-1=\frac{7}{25}\)
\(\sin\left(\frac{5\pi}{2}-a\right)=\sin\left(\frac{\pi}{2}-a\right)=\cos a=-\frac{4}{5}\)
\(\sin\left(a+\frac{\pi}{4}\right)=\frac{\sqrt{2}}{2}.\frac{3}{5}-\frac{4}{5}.\frac{\sqrt{2}}{2}=-\frac{\sqrt{2}}{10}\)
\(\cos\left(a+\frac{\pi}{4}\right)=\frac{\sqrt{2}}{2}.\frac{-4}{5}-\frac{\sqrt{2}}{2}.\frac{3}{5}=-\frac{7\sqrt{2}}{10}\)
\(\Rightarrow\tan\left(a+\frac{\pi}{4}\right)=\frac{1}{7}\)
\(\cos^2\left(\frac{a}{2}\right)=\frac{1+\cos a}{2}=\frac{1}{10}\Leftrightarrow\left|\cos\frac{a}{2}\right|=\frac{\sqrt{10}}{10}\)
Mà \(\frac{\pi}{2}>\frac{a}{2}>\frac{\pi}{4}\)
\(\Rightarrow\cos\frac{a}{2}=\frac{\sqrt{10}}{10}\)