I did the dpe:
$$\frac{\partial u}{\partial y} = \frac{\partial ^2 u}{\partial x^2} - 4u$$
$0 < x < \pi $
With boundary conditions: $\begin{array}{l} u(0,y) = u(\pi ,y) = 0 \\ u(x,0) = {x^2} - \pi x \\ \end{array}$
I used method separation of variables to solve the problem, and i got the solution is:
$$u(x,y) = \sum\limits_{n = \text{even}} \frac{- 8}{\pi n^3} \sin (nx) e^{ - (4 + n^2)y} $$
However, I feel that the solution is not fit with the boundary conditions Could you give some hint??