The sum of all the values of \(\theta\in(0,2\pi)\) satisfying the equation
\[
\sin\theta+3\cos2\theta+\sin3\theta
=
\cos\theta+3\sin2\theta+\cos3\theta
\]
is
Show Hint
When equations contain \(\sin\theta,\cos\theta,\sin3\theta,\cos3\theta\), convert them into sum-to-product forms. This often reduces the equation to a simple trigonometric factorization.