We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MWE:
using ModelingToolkit, OrdinaryDiffEq, Plots @variables t X(t) @parameters p d D = Differential(t) eqs = [ D(X) ~ p - d*X ] @mtkbuild osys = ODESystem(eqs, t) u0 = [X => 5.0, d => 0.2] tspan = (0.0, 10.) ps = [p => 5.0] oprob = ODEProblem(osys, u0, tspan, ps) sol = solve(oprob, Tsit5()) plot(sol)
If I then change d, this does have an effect on the result?
d
u0 = [X => 5.0, d => 0.5] tspan = (0.0, 10.) ps = [p => 5.0] oprob = ODEProblem(osys, u0, tspan, ps) sol = solve(oprob, Tsit5()) plot(sol)
The text was updated successfully, but these errors were encountered:
AayushSabharwal
Successfully merging a pull request may close this issue.
MWE:
If I then change
d
, this does have an effect on the result?The text was updated successfully, but these errors were encountered: