vault backup: 2024-09-09 13:50:18
This commit is contained in:
parent
a7ee5b0e8b
commit
de27435792
21
.obsidian/workspace.json
vendored
21
.obsidian/workspace.json
vendored
@ -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"
|
||||
]
|
||||
}
|
||||
@ -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()
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Loading…
x
Reference in New Issue
Block a user