Timeline for How to plot a graph for the solution to a differential equation
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 20, 2022 at 15:49 | history | edited | Jordyn Taylor | CC BY-SA 4.0 |
I have changed my inputs slightly but I am still just getting a blank axis coming out from the plot
|
Apr 20, 2022 at 15:48 | answer | added | MarcoB | timeline score: 1 | |
Apr 20, 2022 at 15:37 | comment | added | MarcoB |
1) Use := to define functions like series rather than = . 2) Your boundary conditions need to be expressed as equations, using == (Equal ) and not = (Set ). Make sure to run ClearAll[f] before your fixed code. 3) You can't have a non-numerical symbolic value like x0 when you seek a numerical solution to your equation. If the solution is parametric, then use ParametricNDSolve ; if x0 has a value, then please include it in your definitions.
|
|
S Apr 20, 2022 at 15:22 | review | First questions | |||
Apr 20, 2022 at 15:31 | |||||
S Apr 20, 2022 at 15:22 | history | asked | Jordyn Taylor | CC BY-SA 4.0 |