Skip to content

Commit

Permalink
Update readme to use t as a variable rather than parameter (#2273)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner authored Sep 20, 2023
1 parent d5fef6a commit 475ade8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ for the numerical integrator, and solve it.
```julia
using DifferentialEquations, ModelingToolkit

@parameters t σ ρ β
@variables x(t) y(t) z(t)
@parameters σ ρ β
@variables t x(t) y(t) z(t)
D = Differential(t)

eqs = [D(D(x)) ~ σ * (y - x),
Expand Down Expand Up @@ -76,8 +76,8 @@ Equation (DAE):
```julia
using DifferentialEquations, ModelingToolkit

@parameters t σ ρ β
@variables x(t) y(t) z(t)
@parameters σ ρ β
@variables t x(t) y(t) z(t)
D = Differential(t)

eqs = [D(x) ~ σ * (y - x),
Expand Down

0 comments on commit 475ade8

Please sign in to comment.