Skip to content

Commit f02d542

Browse files
authored
Merge pull request barbagroup#53 from petebachant/patch-4
Change "non-linear" to "nonlinear" and add missing period
2 parents dd4af32 + 2210949 commit f02d542

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

lessons/02_Step_2.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"cell_type": "markdown",
3535
"metadata": {},
3636
"source": [
37-
"Step 2: Non-linear Convection\n",
37+
"Step 2: Nonlinear Convection\n",
3838
"-----\n",
3939
"***"
4040
]
@@ -43,11 +43,11 @@
4343
"cell_type": "markdown",
4444
"metadata": {},
4545
"source": [
46-
"Now we're going to implement non-linear convection using the same methods as in step 1. The 1D convection equation is:\n",
46+
"Now we're going to implement nonlinear convection using the same methods as in step 1. The 1D convection equation is:\n",
4747
"\n",
4848
"$$\\frac{\\partial u}{\\partial t} + u \\frac{\\partial u}{\\partial x} = 0$$\n",
4949
"\n",
50-
"Instead of a constant factor $c$ multiplying the second term, now we have the solution $u$ multiplying it. Thus, the second term of the equation is now *non-linear* We're going to use the same discretization as in Step 1 — forward difference in time and backward difference in space. Here is the discretized equation.\n",
50+
"Instead of a constant factor $c$ multiplying the second term, now we have the solution $u$ multiplying it. Thus, the second term of the equation is now *nonlinear*. We're going to use the same discretization as in Step 1 — forward difference in time and backward difference in space. Here is the discretized equation.\n",
5151
"\n",
5252
"$$\\frac{u_i^{n+1}-u_i^n}{\\Delta t} + u_i^n \\frac{u_i^n-u_{i-1}^n}{\\Delta x} = 0$$\n",
5353
"\n",
@@ -91,7 +91,7 @@
9191
"cell_type": "markdown",
9292
"metadata": {},
9393
"source": [
94-
"The code snippet below is *unfinished*. We have copied over the line from [Step 1](./01_Step_1.ipynb) that executes the time-stepping update. Can you edit this code to execute the non-linear convection instead?"
94+
"The code snippet below is *unfinished*. We have copied over the line from [Step 1](./01_Step_1.ipynb) that executes the time-stepping update. Can you edit this code to execute the nonlinear convection instead?"
9595
]
9696
},
9797
{
@@ -119,7 +119,7 @@
119119
"cell_type": "markdown",
120120
"metadata": {},
121121
"source": [
122-
"What do you observe about the evolution of the hat function under the non-linear convection equation? What happens when you change the numerical parameters and run again?"
122+
"What do you observe about the evolution of the hat function under the nonlinear convection equation? What happens when you change the numerical parameters and run again?"
123123
]
124124
},
125125
{

0 commit comments

Comments
 (0)