Skip to content

Commit 4380871

Browse files
committed
sde example update
1 parent a60f7f3 commit 4380871

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ We now study the system as a Chemical Langevin Dynamics SDE model, which can be
210210
```@example home_elaborate_example
211211
u0 = [:V => 25.0, :G => 50.0, :Gᴾ => 0.0]
212212
tspan = (0.0, 20.0)
213-
ps = [:Vₘ => 50.0, :g => 0.2, :kₚ => 100.0, :kᵢ => 60.0]
213+
ps = [:Vₘ => 50.0, :g => 0.3, :kₚ => 100.0, :kᵢ => 60.0]
214214
sprob = SDEProblem(cell_model, u0, tspan, ps)
215215
```
216216
This produces the following equations:
@@ -221,7 +221,7 @@ dGᴾ(t) &= \left( \frac{kₚ*(sin(t)+1)}{V(t)} G(t) - \frac{kᵢ}{V(t)} Gᴾ(t)
221221
dV(t) &= \left(g \cdot Gᴾ(t)\right) dt
222222
\end{align*}
223223
```
224-
where the $dW_1(t)$ and $dW_2(t)$ terms represent independent Brownian Motions, encoding the noise added by the Chemical Langevin Equation. Finally, we can simulate and plot the results.
224+
where the $dW_1(t)$ and $dW_2(t)$ terms represent independent Brownian Motions, encoding the noise added by the Chemical Langevin Equation. Finally, we can simulate and plot the results.
225225
```@example home_elaborate_example
226226
using StochasticDiffEq
227227
sol = solve(sprob, EM(); dt = 0.05)

0 commit comments

Comments
 (0)