Skip to content

Commit 5281982

Browse files
committed
minor edits to 09a, 11 and 17 notebooks
1 parent fdca549 commit 5281982

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

09a_ODE_BVP.ipynb

+6-5
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@
17311731
"cell_type": "code",
17321732
"execution_count": null,
17331733
"metadata": {
1734-
"hide_input": false,
1734+
"hide_input": true,
17351735
"slideshow": {
17361736
"slide_type": "-"
17371737
}
@@ -1910,7 +1910,7 @@
19101910
"w = f.copy()\n",
19111911
"print(w)\n",
19121912
"phi = hats(x,nodes)\n",
1913-
"#w[3] = 1.5\n",
1913+
"w[3] = 1.5\n",
19141914
"func = w.dot(phi)"
19151915
]
19161916
},
@@ -2047,7 +2047,7 @@
20472047
"cell_type": "code",
20482048
"execution_count": null,
20492049
"metadata": {
2050-
"hide_input": false,
2050+
"hide_input": true,
20512051
"slideshow": {
20522052
"slide_type": "fragment"
20532053
}
@@ -2331,7 +2331,7 @@
23312331
}
23322332
},
23332333
"source": [
2334-
"It's also not hard to calculate the Mass matrix, but the mechanics is slightly complicated and will take more time to explain properly than we have at the moment. But here is a bit of code that solves the projection problem"
2334+
"It's also not hard to calculate the Mass matrix, but the mechanics are slightly complicated and will take more time to explain properly than we have at the moment. But here is a bit of code that solves the projection problem"
23352335
]
23362336
},
23372337
{
@@ -2438,6 +2438,7 @@
24382438
"outputs": [],
24392439
"source": [
24402440
"x = numpy.linspace(0., L, 100)\n",
2441+
"nodes = numpy.linspace(0.,L, 20)\n",
24412442
"phi = hats(x, nodes)\n",
24422443
"\n",
24432444
"func = lambda x: numpy.sin(x)\n",
@@ -2449,7 +2450,7 @@
24492450
"cell_type": "code",
24502451
"execution_count": null,
24512452
"metadata": {
2452-
"hide_input": false,
2453+
"hide_input": true,
24532454
"slideshow": {
24542455
"slide_type": "fragment"
24552456
}

11_LA_QR.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2787,7 +2787,7 @@
27872787
"name": "python",
27882788
"nbconvert_exporter": "python",
27892789
"pygments_lexer": "ipython3",
2790-
"version": "3.7.5"
2790+
"version": "3.8.8"
27912791
},
27922792
"latex_envs": {
27932793
"bibliofile": "biblio.bib",

17_ODE_BVP.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
"cell_type": "code",
2121
"execution_count": null,
2222
"metadata": {
23-
"collapsed": true,
2423
"init_cell": true,
2524
"slideshow": {
2625
"slide_type": "skip"
27-
}
26+
},
27+
"tags": []
2828
},
2929
"outputs": [],
3030
"source": [
@@ -771,7 +771,7 @@
771771
"name": "python",
772772
"nbconvert_exporter": "python",
773773
"pygments_lexer": "ipython3",
774-
"version": "3.7.0"
774+
"version": "3.8.8"
775775
},
776776
"latex_envs": {
777777
"bibliofile": "biblio.bib",
@@ -782,5 +782,5 @@
782782
}
783783
},
784784
"nbformat": 4,
785-
"nbformat_minor": 1
785+
"nbformat_minor": 4
786786
}

0 commit comments

Comments
 (0)