dy/dx + y*cos(x) = 3*cos(x) . Find the particular solution of the differential equation dy/dx + y*cos(x) = 3*cos(x) satisfying the initial condition y(0)=5.
y(x) = ________________________
The Attempt at a Solution
I thought I had done it the right way, but my computer based homework system disagreed.
Heres my work:
m(t)=exp [int] cos(x)dx
then to solve for y,
using the intial value to solve for C, [[the initial value was y(0)=5]]
5e=3e + C<<<right here is it C or 3c?>>
and plugging it back into the y-equation, I get y=(3(e^sinx)+2e)/(e^sinx)
Where have I gone wrong? My homework system says this is wrong... Any help would be greatly appreciated. Thank you for looking.