- #1
jasonbot
- 17
- 0
Homework Statement
Hi, I'm struggling with a differential equations:
y'=(1-y)cosx
Homework Equations
The Attempt at a Solution
y'=cosx-ycosx
p(x)=e^(∫-cosxdx)
=e^-sinx
y'e^-sinx=e^(-sinx)cosx-e^(-sinx)ycosx
then I get confused because of the derivative.
I thought it could be
y'e^(-sinx)=d/dx(e^(-sinx)y) but that clearly doesn't work...