ĐK: $\cos(\pi.\sin x)\neq 0$
$\Leftrightarrow \pi.\sin x\neq \dfrac{\pi}{2}+k\pi$
$\Leftrightarrow \sin x\neq k+\dfrac{1}{2}$
$\tan (\pi.\sin x)=0$
$\Leftrightarrow \pi.\sin x=k\pi$
$\Leftrightarrow \sin x=k$
$\Rightarrow -1\le k\le 1\Rightarrow k\in \{ -1;0;1\}$
$k=-1\Rightarrow x=\dfrac{-\pi}{2}+k2\pi$
$k=0\Rightarrow x=k\pi$
$k=1\Rightarrow x=\dfrac{\pi}{2}+k2\pi$