L-자형 영역의 고유 함수 계산
L-자형의 영역을 지정합니다.
In[1]:=

L = Polygon[{{1, 0}, {2, 0}, {2, 2}, {0, 2}, {0, 1}, {1, 1}}];
라플라스 연산자를 지정합니다.
In[2]:=

\[ScriptCapitalL] = Laplacian[u[x, y], {x, y}];
디리클레 경계 조건을 지정합니다.
In[3]:=

\[ScriptCapitalB] = DirichletCondition[u[x, y] == 0., True];
L-자형 영역에서 고유함수를 계산합니다.
In[4]:=

{vals, funs} =
NDEigensystem[{\[ScriptCapitalL], \[ScriptCapitalB]},
u[x, y], {x, y} \[Element] L, 6];
고유값을 확인합니다.
In[5]:=

vals
Out[5]=

고유 함수를 시각화합니다.
In[6]:=

Plot3D[#, {x, y} \[Element] L, PlotPoints -> 75, Mesh -> None,
PlotStyle -> Directive[Orange, Specularity[White, 30]],
BoxRatios -> {1, 1, 0.8}] & /@ funs
Out[6]=
