Message Boards Message Boards

Empty plot in Manipulate applied at ParametricPlot?

Hello,

I'm new to Mathematica and trying to plot a parametric equation as a solution of a system of differential equations with a parameter "a". I used ParametricNDSolve and then tried using Manipulate to change the parameter "a" with a slider. Nothing shows up on the graph.

I have successfully plotted the graph using a value for "a" and getting rid of Manipulate.

Any advice would be great!

POSTED BY: Jonathan Baker
2 Replies
Posted 1 year ago
  1. You used "kli" which contains alphabet "l" in the middle and "k1i" which contains the number "1".
  2. Use the following commands:
    sol = ParametricNDSolve[{ode1, ode2, A[0] == 15, F[0] == 3}, {F, A}, {t, 0, 100}, {a}].
    Use F and A, instead of F[t] and A[t]. I remember reading a document that says it is recommended to use variables without "t". e.g., F, not F[t] in solving differential equations.
  3. The "K" is a reserved word of mathematica. it is recommended to use variables that start with lower case.
POSTED BY: Sangdon Lee

Changing it to F,A rather than F[t],A[t] fixed it. Thank you!!

POSTED BY: Jonathan Baker
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract