Show More
@@ -111,8 +111,9 b'' | |||
|
111 | 111 | " ax.set_ylim((-35, 35))\n", |
|
112 | 112 | " ax.set_zlim((5, 55))\n", |
|
113 | 113 | " \n", |
|
114 |
" def lorenz_deriv( |
|
|
115 |
" \"\"\"Compute the time-derivative of a Loren |
|
|
114 | " def lorenz_deriv(x_y_z, t0, sigma=sigma, beta=beta, rho=rho):\n", | |
|
115 | " \"\"\"Compute the time-derivative of a Lorenz system.\"\"\"\n", | |
|
116 | " x, y, z = x_y_z\n", | |
|
116 | 117 | " return [sigma * (y - x), x * (rho - z) - y, x * y - beta * z]\n", |
|
117 | 118 | "\n", |
|
118 | 119 | " # Choose random starting points, uniformly distributed from -15 to 15\n", |
@@ -13428,7 +13429,24 b'' | |||
|
13428 | 13429 | ] |
|
13429 | 13430 | } |
|
13430 | 13431 | ], |
|
13431 |
"metadata": { |
|
|
13432 | "metadata": { | |
|
13433 | "kernelspec": { | |
|
13434 | "display_name": "Python 3", | |
|
13435 | "name": "python3" | |
|
13436 | }, | |
|
13437 | "language_info": { | |
|
13438 | "codemirror_mode": { | |
|
13439 | "name": "ipython", | |
|
13440 | "version": 3 | |
|
13441 | }, | |
|
13442 | "file_extension": ".py", | |
|
13443 | "mimetype": "text/x-python", | |
|
13444 | "name": "python", | |
|
13445 | "nbconvert_exporter": "python", | |
|
13446 | "pygments_lexer": "ipython3", | |
|
13447 | "version": "3.4.2" | |
|
13448 | } | |
|
13449 | }, | |
|
13432 | 13450 | "nbformat": 4, |
|
13433 | 13451 | "nbformat_minor": 0 |
|
13434 | } No newline at end of file | |
|
13452 | } |
General Comments 0
You need to be logged in to leave comments.
Login now