Skip to content

Commit

Permalink
50 / 50 : revise descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
beachdweller committed May 22, 2024
1 parent 5c7e4b4 commit 8ba04c6
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions 50_ode/50_Attractors.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Nonlinea System Example : Chaotic system<br>비선형 시스템 예 : 카오스 시스템\n",
"# Numerical Simulation of Chaotic Systems: The Lorenz Attractor.<br>카오스 시스템의 수치 시뮬레이션 : 로렌츠 계\n",
"\n"
]
},
Expand Down Expand Up @@ -105,8 +105,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"A set of its chaotic solutions are the Lorenz attractor; an attractor is a region in the state space where a system tends to evolve towards over time, often regardless of its initial conditions within a particular region.<br>\n",
"그 카오스 해의 집합을 Lorenz Attractor 로렌츠 끌개라고 말한다. Attractor 끌개 란, 시간이 흐름에 따라 시스템이 상태 공간상 특정 영역 안에서 시작하였을 때 도달하게 되는 상태공간상의 영역 또는 평형점을 말한다.\n",
"The Lorenz attractor is a set of chaotic solutions; an attractor is a region in the state space where a system tends to evolve towards over time, often regardless of its initial conditions within a particular region.<br>\n",
"Lorenz Attractor 로렌츠 끌개란 그 카오스 해의 집합을 말한다. Attractor 끌개 란, 시간이 흐름에 따라 시스템이 상태 공간상 특정 영역 안에서 시작하였을 때 도달하게 되는 상태공간상의 영역 또는 평형점을 말한다.\n",
"\n"
]
},
Expand All @@ -127,7 +127,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Let's think about a two-dimensional fluid layer uniformly warmed below and cooled from above.<br>위 방정식은 아래에서 덥혀지고 위에서 냉각되는 유체의 움직임에 관한 것이다.\n",
"The Lorenz system models a simplified scenario of a two-dimensional fluid layer uniformly warmed below and cooled from above.<br>해당 미분방정식이 나타내는 로렌츠 계는 아래에서 덥혀지고 위에서 냉각되는 유체의 움직임에 관한 것이다.\n",
"\n"
]
},
Expand All @@ -138,6 +138,10 @@
"outputs": [],
"source": [
"def Lorenz_attractor(t:float, xv:np.ndarray, sigma:float=10.0, rho:float=28.0, beta:float=(8.0/3.0)):\n",
" '''\n",
" Calculate slope vector of the Lorenz system\n",
" 로렌츠 계의 기울기 벡터를 계산\n",
" '''\n",
" x, y, z = xv\n",
" dx_dt = sigma * (y - x)\n",
" dy_dt = x * (rho - z) - y\n",
Expand All @@ -158,6 +162,10 @@
" t_end=60.0,\n",
" elev_deg:float=None, azim_deg:float=None, figsize=(14, 14)\n",
" ):\n",
" '''\n",
" Simulate a chatoic attractor\n",
" 카오스 계 해 곡선을 시뮬레이션\n",
" '''\n",
" t_array = np.arange(0, t_end, 1e-3)\n",
" \n",
" t_out, x_out = ode_solver.rk4(attractor, t_array, x_0)\n",
Expand Down

0 comments on commit 8ba04c6

Please sign in to comment.