Skip to content

Commit 57541bd

Browse files
Merge pull request #2113 from KronosTheLate/patch-1
Typo, slight rephrase
2 parents 8aacdd4 + cb50437 commit 57541bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/src/examples/higher_order.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ ModelingToolkit has a system for transformations of mathematical
44
systems. These transformations allow for symbolically changing
55
the representation of the model to problems that are easier to
66
numerically solve. One simple to demonstrate transformation is the
7-
`structural_simplify` with does a lot of tricks, one being the
8-
transformation that sends a Nth order ODE
9-
to a 1st order ODE.
7+
`structural_simplify`, which does a lot of tricks, one being the
8+
transformation that turns an Nth order ODE into N
9+
coupled 1st order ODEs.
1010

1111
To see this, let's define a second order riff on the Lorenz equations.
1212
We utilize the derivative operator twice here to define the second order:
@@ -26,12 +26,12 @@ eqs = [D(D(x)) ~ σ * (y - x),
2626
```
2727

2828
Note that we could've used an alternative syntax for 2nd order, i.e.
29-
`D = Differential(t)^2` and then `E(x)` would be the second derivative,
29+
`D = Differential(t)^2` and then `D(x)` would be the second derivative,
3030
and this syntax extends to `N`-th order. Also, we can use `*` or `` to compose
3131
`Differential`s, like `Differential(t) * Differential(x)`.
3232

3333
Now let's transform this into the `ODESystem` of first order components.
34-
We do this by simply calling `ode_order_lowering`:
34+
We do this by calling `structural_simplify`:
3535

3636
```@example orderlowering
3737
sys = structural_simplify(sys)

0 commit comments

Comments
 (0)