How to solve higher order differential equations using DifferentialEquations.jl

I can only solve second order differential equations with ODEProblem. I would like to know how to define higher order differential equations.

Higher order diffeqs can always be written as 1st order by introducing more variables.

1 Like

And ModelingToolkit.jl can automate this transformation, so Iā€™d recommend it. Just define the equation you have here and do structural_simplify to generate the extended form.