Consider the following steady state problem
$$\Delta T = 0,\,\,\,\, (x,y) \in \Omega, \space \space 0 \leq x \leq 4 ,\space \space \space\space 0 \leq y \leq 2 $$
$$ T(0,y) = 300, \space \space T(4,y) = 600$$
$$ \frac{\partial T}{\partial y}(x,0) = 0, \space \space \frac{\partial T}{\partial y}(x,2) = 0$$
I want to derive the analytical solution to this problem.
1) Use separation of variables.
$$\frac{X^{''}}{X}= -\frac{Y^{''}}{Y} = -\lambda $$ $$X^{''} + \lambda X = 0 \tag{1}$$ $$Y^{''} - \lambda Y = 0 \tag{2}$$
The solution to $(2$) is
$Y(y) = C_1 \cos(ay)+C_2 \sin(ay)$
We find that $$C_2 = 0$$ and $$Y^{'}(2) = C_1\alpha \sin(2\alpha) = 0 \tag{3}$$
with $(3)$ giving that $\alpha = n\frac{\pi}{2}$
so $Y$ is given by
$$Y(y) = C_1sin(\frac{n\pi}{2}y)$$
The solution to $(1)$ is
$$X(x) = Ae^{\alpha x}+Be^{-\alpha x}$$
where $\alpha$ is given by $\alpha = n\frac{\pi}{2}$
So the solution is:
$$u(x,y) = X(x)Y(y) = C_1sin(\alpha y)(Ae^{\alpha x}+Be^{-\alpha x}) \tag{4}$$
where $\alpha$ is given by $\alpha = n\frac{\pi}{2}$
Inserting the B.C. in $(4)$ gives:
$$u(0,y) \implies E_n = \frac{300}{sin(\alpha y)}$$
$$u(4,y) \implies F_n = \frac{600}{G sin(\alpha y)Ae^{4 \alpha }+Hsin(\alpha y)e^{-4 \alpha }}$$
This is how far I have come. How do I continue?
Hints
1) Start from here
$$Y^{''} - \lambda Y = 0\\ Y^{'}(0)=Y^{'}(4)=0$$
find the eigenvalues $\lambda_i$ and the eigenfunctions $Y_i(y)$.
2) Find the $X_i(x)$
$$X^{''} + \lambda X = 0$$
3) Form the infinite sum
$$T(x,y) = \sum\limits_{i = 1}^\infty {{X_i}(x){Y_i}(y)} $$
4) Apply boundary conditions
$$\eqalign{ & \sum\limits_{i = 1}^\infty {{X_i}(0){Y_i}(y)} = 100 \cr & \sum\limits_{i = 1}^\infty {{X_i}(2){Y_i}(y)} = 200 \cr} $$
5) Find unknown constants using the orthogonality property of $Y_{i}(y)$
$$\int\limits_0^4 {{Y_i}(y){Y_j}(y)dy} = {\delta _{ij}}\int\limits_0^4 {Y_i^2(y)dy} $$