∫cos(y)e^-y dy integrate by parts.
you need to build "loop"... let u=cosy & dv=e^(-y) then: du=-siny v=-e^(-y) \[=-e ^{-y}cosy-\int\limits_{}^{}siny*e ^{-y}dy\] do it one more time..
Or use the chain rule!
you'll get: u=siny du=cosy dv=e^(-y) and v=-e^(-y) \[=-e ^{-y}cosy +e ^{-y}siny - \int\limits_{}^{}cosy*e ^{-y}dy\] so, you got on right side your original integral !
then: \[2\int\limits_{}^{}cosy*e ^{-y}dy=e ^{-y}siny - e ^{-y}*cosy\] divide by 2 both side & you got your answer :)
oh I get it.
Lets not give the complete answer, give one step and ask them to solve the rest :)
I forgot to put constant... sorry. please add to the final answer
Mashy - I agree! sorry...
cause its still an equation, so you move it to te other side and its obvious. Had got as far as the loop and didn't know where to go forom there. Thank you much :)
Sorry for bad spelling there, was typing quickly.
no problem... that is the "trick" that you can use in similar cos/sin complex integral problems. Just remember this one for the next time :))
I will, thanks again
Join our real-time social learning platform and learn together with your friends!