# Math Help - inital value-problem

1. ## inital value-problem

how would you solve this initial-value problem?

$\frac{\mathrm{d} y}{\mathrm{d} x}=\frac{sin(4x)}{3+cos(4x)}$ when $y=5$ and $x=0$

2. ## Re: inital value-problem

Integrate both sides with respect to x. Then use the initial value pair to decide the value of the constant of integration.

3. ## Re: inital value-problem

Originally Posted by Orlando
how would you solve this initial-value problem?

$\frac{\mathrm{d} y}{\mathrm{d} x}=\frac{sin(4x)}{3+cos(4x)}$ when $y=5$ and $x=0$
$\int dy=\int \frac{\sin(4x)}{3+\cos(4x)} \,dx$

to solve this integral use substitution :

$\cos (4x) = u \Rightarrow du = - 4\sin(4x) dx$

4. ## Re: inital value-problem

so

$y=\int\frac{-4sin(x4)}{3+cos(4x)}dx$

$y=-\frac{1}{4}\int\frac{-4sin(4x)}{3+cos(4x)}dx$

so
$y=-\frac{1}{4}ln(3+cos(4x))+c$

so

$5=-\frac{1}{4}ln(3)+c$

so

$c=5+\frac{1}{4}ln(3)$

Im I on the right track?

5. ## Re: inital value-problem

Since $~\cos(0)=1~$ fourth line should be :

$5= \frac{-1}{4} \cdot \ln(4) + C$

6. ## Re: inital value-problem

sorry silly mistake

so $y=5-\frac{1}{4}ln(\frac{3+cos(4x)}{4})$