The trigonometric identity
in the interval
.
.
Apply the Sum-to-Product Formula:
.


.
Even-odd property of cosine function:
.

and
.
and
.
Solve these two equations separately.
\Consider
.
.
General solution for
is
and
where
.
Solutions for
in
are
and
.
and
, where
.
.
The solution in the interval
is
.
Consider
.
Solutions for
are
and
where
.
.
The solution in the interval
is
.
Combine above two solutions for complete solution.
\
and 
.
.