Question: pdsolve - boundary condition issues about 2D Laplace function

 

I'm trying to solve a PDE using pdsolve() for the Laplace functrion.I can solve the PDE and get a general solution, but when I try to solve the equation with the boundary conditions, Maple indicate that"Error, (in pdsolve/info) wrong extra arguments: {u(0, y) = 0, u(a, y) = 0, u(x, 0) = f(x), u(x, b) = g(x)}",here is my code:

> restart; with(PDEtools);
> U := diff_table(u(x, y));
> pde[1] := U[`$`(x, 2)]+U[`$`(y, 2)] = 0;
>bc[1] := eval(U[], x = 0) = 0, eval(U[], x = a) = 0, eval(U[], y = 0) = f(x), eval(U[], y = b) = g(x)
>pdsolve(pde[1], bc[1])


Can someone help me out here? Thanks

Please Wait...