我想解一个Laplace's Equation
比方说下面这个文件第三页这种例题
http://www.robots.ox.ac.uk/~jmb/lectures/pdelecture5.pdf
输入
NDSolve[{D[u[x, y], x, x] + D[u[x, y], y, y] == 0, u[0, y] == 0,
u[x, 0] == 0, u[3, y] == 0, u[x, 4] == Sin[Pi/3*x]}, u, {x, 0,
3}, {y, 0, 4}]
结果她回传
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.
请问哪里写错了
谢谢~
作者:
Serenede (Serenede)
2015-04-12 01:31:00我把你的code完全复制贴上似乎没问题DensityPlot[u[x, y] /. %, {x, 0, 3}, {y, 0, 4}]就可以画出所需要的图所以你再检查一下吧,问题可能出在别的地方