Wolfram 언어

고유 시스템

L-자형 영역의 고유 함수 계산

L-자형의 영역을 지정합니다.

In[1]:=
Click for copyable input
L = Polygon[{{1, 0}, {2, 0}, {2, 2}, {0, 2}, {0, 1}, {1, 1}}];

라플라스 연산자를 지정합니다.

In[2]:=
Click for copyable input
\[ScriptCapitalL] = Laplacian[u[x, y], {x, y}];

디리클레 경계 조건을 지정합니다.

In[3]:=
Click for copyable input
\[ScriptCapitalB] = DirichletCondition[u[x, y] == 0., True];

L-자형 영역에서 고유함수를 계산합니다.

In[4]:=
Click for copyable input
{vals, funs} = NDEigensystem[{\[ScriptCapitalL], \[ScriptCapitalB]}, u[x, y], {x, y} \[Element] L, 6];

고유값을 확인합니다.

In[5]:=
Click for copyable input
vals
Out[5]=

고유 함수를 시각화합니다.

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

관련 예제