An ordinary differential equation (ODE) has differential equation for a function with single variable. A first order ODE follows .
In the given problem: , we may apply variable separable differential equation in a form of .
Divide both sides by "u" and cross-multiply dv to set it up as:
Apply direct integration:
For the left sign, we follow the basic integration formula for logarithm:
For the right side, we follow the basic integration formula for sine function:
Let: then
or
.
The integral becomes:
Plug-in on
, we get:
Combing the results, we get the general solution of differential equation as:
To solve for the arbitrary constant , apply the initial condition
on
:
Plug-in in
, we get
No comments:
Post a Comment