Ответ:

Используем тождество \(\cos^2x=1-\sin^2x\):

\[1-\sin^2x+3\sin x-2=0\]

\[\sin^2x-3\sin x+1=0\]

Обозначим \(t=\sin x\). Тогда:

\[t^2-3t+1=0\]

\[t=\frac{3\pm\sqrt5}{2}\]

Значение \(\dfrac{3+\sqrt5}{2}>1\) невозможно, поэтому \(\sin x=\dfrac{3-\sqrt5}{2}\).

Общее решение:

\[x=(-1)^n\arcsin\frac{3-\sqrt5}{2}+\pi n,\qquad n\in\mathbb Z\]

Ответ: \(x=(-1)^n\arcsin\dfrac{3-\sqrt5}{2}+\pi n,\ n\in\mathbb Z\).