Skip to content

Commit 5eaf19d

Browse files
committed
updated 00_intro for fall_2024
* added some figures * minor text edits
1 parent b7b5aac commit 5eaf19d

File tree

1 file changed

+32
-10
lines changed

1 file changed

+32
-10
lines changed

00_intro_numerical_methods.ipynb

+32-10
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
"cell_type": "code",
204204
"execution_count": null,
205205
"metadata": {
206-
"hide_input": false,
206+
"hide_input": true,
207207
"slideshow": {
208208
"slide_type": "fragment"
209209
}
@@ -269,7 +269,7 @@
269269
"\n",
270270
"### Some problems are too big to be done by hand. \n",
271271
"\n",
272-
"It may not possible to calculate an exact answer in a convenient amount of time. It may be that a system is over constrained and obtaining an answer that matches all requirements is not possible.\n",
272+
"It may not possible to calculate an exact answer in a convenient amount of time. E.g. Large linear systems (with exact solutions) occur in many problems, but require $O(N^3)$ operations.\n",
273273
"\n",
274274
"<table style=\"width:50%\">\n",
275275
" <tr>\n",
@@ -445,8 +445,8 @@
445445
},
446446
"outputs": [],
447447
"source": [
448-
"sigma = .2\n",
449-
"k = 0.01\n",
448+
"sigma = .5\n",
449+
"k = 0.025\n",
450450
"t_max = 150\n",
451451
"sir_0 = [0.999, 0.001, 0.]\n",
452452
"sol = solve_ivp(sir, [0, t_max] , sir_0, args=(sigma, k), rtol=1.e-6, atol=1.e-9,dense_output = True)"
@@ -739,7 +739,7 @@
739739
"- Optimization -- linear programming, constrained optimization\n",
740740
"- Numerical Solution of PDE's (APMA E4301)\n",
741741
"- Mathematical Modeling (maybe a little)\n",
742-
"- Machine Learning/Data Science (APMA 4990 Intro Math of Data Science)\n",
742+
"- Machine Learning/Data Science (Lots of other courses)\n",
743743
"- Lot's of things that would be fun...\n"
744744
]
745745
},
@@ -766,6 +766,28 @@
766766
"</table>"
767767
]
768768
},
769+
{
770+
"cell_type": "markdown",
771+
"metadata": {
772+
"slideshow": {
773+
"slide_type": "slide"
774+
}
775+
},
776+
"source": [
777+
"## Some FEM Magma Dynamics models (from Spiegelman)\n",
778+
"\n",
779+
"\n",
780+
"\n",
781+
"Choose and understand critical methods that are essential for Numerical PDE's, modeling and scientific computation.\n",
782+
"\n",
783+
"\n",
784+
"<table style=\"width:120%\">\n",
785+
" <tr>\n",
786+
" <th align=\"center\"><img src=\"./images/TerraFERMAExamples.jpg\" width=\"1000\" align=\"center\"/></th>\n",
787+
" </tr>\n",
788+
"</table>"
789+
]
790+
},
769791
{
770792
"cell_type": "markdown",
771793
"metadata": {
@@ -822,8 +844,8 @@
822844
"\n",
823845
"- 2 Lectures per week (recorded for CVN, makeups)\n",
824846
"- Office Hours\n",
825-
"- 8 Problem sets (75\\%)\n",
826-
"- Final Project (25\\%)"
847+
"- 8 Problem sets (60\\%)\n",
848+
"- Final Project (40\\%)"
827849
]
828850
},
829851
{
@@ -867,7 +889,7 @@
867889
}
868890
},
869891
"source": [
870-
"#### Please fill out the [User Survey](https://forms.gle/5dCQfoQYV6FqcDbf9) if you haven't already"
892+
"#### Please fill out the [User Survey](https://forms.gle/2oYm9PEcytBD4Y7r8) if you haven't already"
871893
]
872894
},
873895
{
@@ -943,7 +965,7 @@
943965
"\n",
944966
"* Compiled languages: C, C++, Fortran\n",
945967
"* Commercial interactive modeling systems: Matlab, Mathematical, IDL\n",
946-
"* Open-source interpreted languages: Python, R, Ruby, Julia"
968+
"* Open-source interpreted languages: Python, R, Julia, Ruby"
947969
]
948970
},
949971
{
@@ -1038,7 +1060,7 @@
10381060
" - Can be slow\n",
10391061
" - Packaging system is a bit crufty\n",
10401062
" - Discipline is forced on the programmer by the design of the language. Can limit choices available for how to implement an algorithm. (The *python* way.)\n",
1041-
" - Too many Monty Python jokes (not really a con)"
1063+
" "
10421064
]
10431065
},
10441066
{

0 commit comments

Comments
 (0)