Lời giải:
$-\frac{4}{5}=\cos 2x=2\cos ^2x-1$
$\Leftrightarrow \cos ^2x=\frac{1}{10}$
Vì $x\in (\frac{\pi}{4}; \frac{\pi}{2})$ nên $\cos x>0$
$\Rightarrow \cos x=\sqrt{\frac{1}{10}}$
$\sin^2x=1-\cos ^2x=\frac{9}{10}$
Vì $x\in (\frac{\pi}{4}; \frac{\pi}{2})$ nên $\sin x>0$
$\Rightarrow \sin x=\frac{3}{\sqrt{10}}$
$\sin (x+\frac{\pi}{3})=\sin x\cos \frac{\pi}{3}+\cos x\sin \frac{\pi}{3}$
$=\sqrt{\frac{9}{10}}.\frac{1}{2}+\sqrt{\frac{1}{10}}.\frac{\sqrt{3}}{2}=\frac{\sqrt{30}+3\sqrt{10}}{20}$