diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 107e79b3..00a1c394 100755 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -23,11 +23,9 @@ "id": "e7019452a0bd61a5", "type": "leaf", "state": { - "type": "markdown", + "type": "image", "state": { - "file": "3-99 Research/6. Researching Techniques/Setting up a virtual python environment (venv).md", - "mode": "source", - "source": false + "file": "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09/ex2.png" } } } @@ -99,7 +97,7 @@ "state": { "type": "backlink", "state": { - "file": "3-99 Research/6. Researching Techniques/Setting up a virtual python environment (venv).md", + "file": "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09/ex2.png", "collapseAll": true, "extraContext": false, "sortOrder": "alphabetical", @@ -116,7 +114,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "3-99 Research/6. Researching Techniques/Setting up a virtual python environment (venv).md", + "file": "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09/ex2.png", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -139,7 +137,7 @@ "state": { "type": "outline", "state": { - "file": "3-99 Research/6. Researching Techniques/Setting up a virtual python environment (venv).md" + "file": "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09/ex2.png" } } } @@ -180,6 +178,9 @@ "active": "e7019452a0bd61a5", "lastOpenFiles": [ "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09 Example.py~", + "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09/ex1.png", + "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09/ex2.png", + "3-99 Research/6. Researching Techniques/Setting up a virtual python environment (venv).md", "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09", "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/__pycache__/pylab.cpython-312.pyc", "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/matplotlib/__pycache__/widgets.cpython-312.pyc", @@ -189,7 +190,6 @@ "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/matplotlib/tri/__pycache__/_trirefine.cpython-312.pyc", "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/matplotlib/tri/__pycache__/_triplot.cpython-312.pyc", "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/matplotlib/tri/__pycache__/_tripcolor.cpython-312.pyc", - "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/matplotlib/tri/__pycache__/_triinterpolate.cpython-312.pyc", "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/matplotlib/mpl-data/sample_data/logo2.png", "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/matplotlib/mpl-data/sample_data/grace_hopper.jpg", "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/matplotlib/mpl-data/sample_data/Minduka_Present_Blue_Pack.png", @@ -198,8 +198,6 @@ "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/matplotlib/mpl-data/images/zoom_to_rect.png", "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/matplotlib/mpl-data/images/zoom_to_rect-symbolic.svg", "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/matplotlib/mpl-data/images/subplots.svg", - "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/matplotlib/mpl-data/images/subplots_large.png", - "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/matplotlib/mpl-data/images/subplots.png", "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/scipy/fft/_pocketfft/LICENSE.md", "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/venv/lib/python3.12/site-packages/numpy/random/LICENSE.md", "300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09 Frameworks and Review.md", @@ -223,7 +221,6 @@ "4. Qualifying Exam/2. Writing/6. QE Risks and Contingencies.md", "4. Qualifying Exam/2. Writing/5. QE Metrics of Success.md", "4. Qualifying Exam/2. Writing/4. QE Broader Impacts.md", - "4. Qualifying Exam/2. Writing/3. QE Research Approach.md", - "4. Qualifying Exam/2. Writing/2. QE State of the Art.md" + "4. Qualifying Exam/2. Writing/3. QE Research Approach.md" ] } \ No newline at end of file diff --git a/300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09 Example.py b/300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09 Example.py index eb7dc99d..065a5438 100644 --- a/300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09 Example.py +++ b/300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09 Example.py @@ -20,7 +20,23 @@ plt.plot(x,fx,'g-',x,zerox,'b-') plt.xlabel('x',fontsize = 15) plt.ylabel('y', fontsize = 15) -plt.savefig("2024-09=09/ex1.png") +plt.savefig("2024-09-09/ex1.png") +#Integrating stuff! +#Define the integration: +def dx_dt(xx,t): + return[4.*xx[0]**2 -16.] +f1 = plt.figure() +f.set_figwidth(12) +f.set_figheight(12) +# forward integration in time, so we need a time span +ts = np.linspace(0,3,1000) +ic = 1 +xs = odeint(dx_dt, ic, ts) +print(xs) + +plt.plot(ts,xs) +plt.savefig("2024-09-09/ex2.png") +plt.show() diff --git a/300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09/ex1.png b/300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09/ex1.png new file mode 100644 index 00000000..161ba883 Binary files /dev/null and b/300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09/ex1.png differ diff --git a/300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09/ex2.png b/300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09/ex2.png new file mode 100644 index 00000000..ca0e5b51 Binary files /dev/null and b/300s School/301. ME 2016 - Nonlinear Dynamical Systems 1/2024-09-09/ex2.png differ