I am given, $$u = e^{-x} (x sin y - y cos y)$$ and asked to find v such that, $$f(z) = u + iv$$. My book solves these problems and the answer is, $$v = e^{-x} (ysiny + x cos y) + c$$. I understand how it is done, using Cauchy-Riemann equations.
Then, the book asks to find f(z). When doing that...