- #1
Hertz
- 180
- 8
Hi, I can't quite figure out what I'm doing wrong here. I tried restarting mathematica as well which is what fixed my previous problem
and I'm getting the error:
Code:
Clear[eqn, soln, u, x, y]
eqn = D[u[x, y], {x, 2}] + D[u[x, y], {y, 2}] == 0;
soln = NDSolve[{eqn, u[x, 0] == Sin[x], u[0, y] == 0, u[1, y] == 0},
u[x, y], {x, 0, 1}, {y, 0, 1}]
and I'm getting the error:
Code:
NDSolve::ivone: Boundary values may only be specified for one independent variable. Initial values may only be specified at one value of the other independent variable. >>