Here's number 3 from the practice problems. Could someone walk me through it?
Recall that the solution to Laplace's equation $\Delta$u = 0 on the unit square with boundary conditions $$u(x,0)=f(x), u(x,1)=g(x)\mbox{, and }u(0,y)=u(1,y)=0$$ is $$u(x,y)=\sum\limits_{n=1}^\infty(c_ne^{-n\pi*y}+d_ne^{n\pi*y})sin(n\pi*x),$$ where $c_n+d_n$ are the Fourier sine coefficients of f and $c_ne^{-n\pi}+d_ne^{n\pi}$ are the Fourier sine coefficients of g. Use this to solve Laplace's equation on the unit square subject to the boundary conditions $u(x,0)=1$ and $u(1,y)=u(x,1)=u(0,y)=0$. Note: It is sufficient to specify $c_n$ and $d_n$ as the unique solutions to a pair of equations.