The differential equation is
,
.

.
Apply integral on each side.
\
.
.
Apply integration power rule:
.
Apply trigonometric integration rule:
.

.
The equation is
.
Find constant value.
\The condition
.
Substitute
and
in equation.

Substitute
in equation
.
The equation is
.
.
The condition
, then
.
.
.
The solution of differential equation is
.
.