ATAR Notes: Forum
Uni Stuff => Science => Faculties => Mathematics => Topic started by: berryy on June 01, 2011, 07:25:50 pm
-
can someone please show me how to solve for q via integrating by parts for:
dq/dt +10q = .25sin5t
i keep getting my constants wrong but when i do it exponetially it works,
Thanks all
-
im pretty sure you cant do that with integration by parts...
you can do it though, first find the solution to the homogeneous equation:
- this is seperable, and should be easy (
)
then for the particular solution, you take a guess that
+B\cos(5t))
finding
and subbing back in, then solving for A, B gives the particular solution (
)
so the overall, general solution is:
-
You can also do that question using an integration factor. I'm pretty sure by using that method you'll then have to use integration by parts. I won't actually go into it, but a hint, you'll have to use integration by parts twice and collect the common factors
-
You can also do that question using an integration factor. I'm pretty sure by using that method you'll then have to use integration by parts. I won't actually go into it, but a hint, you'll have to use integration by parts twice and collect the common factors
yeah thats what i meant!
when i integrated it twice, ive stuffed something up when i rearranged the "I" cos my constants are not 1/50 or 1/100
-
ahh, ok, in that case , heres what happened when i did it:
 & =\frac{1}{4} e^{10t}\sin5t \\<br />\implies qe^{10t} & = \int \frac{1}{4}e^{10t} \sin5t dt \qquad \mbox{Use product rule with } f=e^{10t}, g'=\sin 5t\\<br />&=-\frac{1}{20} e^{10t} \cos 5t + \frac{1}{2} \int e^{10t} \cos 5t dt \qquad \mbox{Use product rule with } u=e^{10t}, v'=\cos 5t\\<br />&= -\frac{1}{20}e^{10t} \cos 5t + \frac{1}{10}e^{10t} \sin 5t - \int e^{10t} \sin5t dt + C \\<br />&= -\frac{1}{20}e^{10t} \cos 5t + \frac{1}{10}e^{10t} \sin 5t -4qe^{10t} + C \\<br />\implies 5e^{10t}q&= -\frac{1}{20}e^{10t} \cos 5t + \frac{1}{10}e^{10t} \sin 5t +C \\<br />\implies q&= -\frac{1}{100} \cos 5t + \frac{1}{50} \sin 5t +Ce^{-10t}<br />\end{align}<br />)
which is the same as before, hope this helps find your mistake :)
-
i know where i did wrong now
Thankyou heaps for the help :)