Skip to content

Commit aaa3b4a

Browse files
Update ode_linear_prob.jl
1 parent 7b439ed commit aaa3b4a

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/ode/ode_linear_prob.jl

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Linear ODE
88
\\frac{du}{dt} = αu
99
```
1010
11-
with initial condition ``u_0=1/2``, ``α=1.01``, and solution
11+
with initial condition ``u_0=\frac{1}{2}``, ``α=1.01``, and solution
1212
1313
```math
1414
u(t) = u_0e^{αt}
@@ -27,7 +27,7 @@ Linear ODE
2727
\\frac{du}{dt} = αu
2828
```
2929
30-
with initial condition ``u_0=1/2``, ``α=1.01``, and solution
30+
with initial condition ``u_0=\frac{1}{2}``, ``α=1.01``, and solution
3131
3232
```math
3333
u(t) = u_0e^{αt}
@@ -48,7 +48,8 @@ f_2dlinear_analytic = (u0,p,t) -> @. u0*exp(p*t)
4848
\\frac{du}{dt} = αu
4949
```
5050
51-
with initial condition ``u_0=1/2``, ``α=1.01``, and solution
51+
with initial condition ``u_0`` as all uniformly distributed random numbers,
52+
``α=1.01``, and solution
5253
5354
```math
5455
u(t) = u_0e^{αt}
@@ -67,7 +68,8 @@ prob_ode_2Dlinear = ODEProblem(
6768
\\frac{du}{dt} = αu
6869
```
6970
70-
with initial condition ``u_0=1/2``, ``α=1.01``, and solution
71+
with initial condition ``u_0`` as all uniformly distributed random numbers,
72+
``α=1.01``, and solution
7173
7274
```math
7375
u(t) = u_0e^{αt}
@@ -86,7 +88,8 @@ prob_ode_large2Dlinear = ODEProblem(
8688
\\frac{du}{dt} = αu
8789
```
8890
89-
with initial condition ``u_0=1/2``, ``α=1.01``, and solution
91+
with initial condition ``u_0`` as all uniformly distributed random numbers,
92+
``α=1.01``, and solution
9093
9194
```math
9295
u(t) = u_0e^{αt}
@@ -106,7 +109,8 @@ f_2dlinear_notinplace = (u,p,t) -> p*u
106109
\\frac{du}{dt} = αu
107110
```
108111
109-
with initial condition ``u_0=1/2``, ``α=1.01``, and solution
112+
with initial condition ``u_0`` as all uniformly distributed random numbers,
113+
``α=1.01``, and solution
110114
111115
```math
112116
u(t) = u_0e^{αt}

0 commit comments

Comments
 (0)