30 questions linked to/from Easy way to plot ODE solutions from NDSolve?
296 views

### How to plot the derivative of NDSolve's interpolation function? [duplicate]

i just get the answer (graph) from code below. Right now i want to get the differentiate of d[t]; d''[t]. but i don't know how to get it. This is my code ...
• 13
17k views

### What are some useful, undocumented Mathematica functions?

There have already been some questions about some undocumented functionality in Mathematica. Such as (please add to these lists!) How can one find undocumented options or option values in Mathematica?...
6k views

### How to splice together several instances of InterpolatingFunction?

I have a set of InterpolatingFunction returned by NDSolve which are valid over different (but overall continuous) domains. How ...
• 775
236 views

### Error when using NDSolve for $\epsilon y'' - y' + y^2 = 1$

Error when using NDSolve for $\epsilon y'' - y' + y^2 = 1$ with $0<x<1$ and $y(0) = \frac{1}{3}$, $y(1)=1$ My attempt: ...
• 469
2k views

### Speed up NDSolve compared to Python (calls to LSODA)

I migrated a numerical model code from Python to Mathematica and am surprised how much faster the Python version runs. Profiling of the Python version tells me that it is about 100 times faster (120 ...
• 7,713
1k views

### Solving a steady-state viscous Burger's equation with NDSolve

A steady-state viscous Burger's equation is given by $$u\,u'=\nu \,u'', \quad x\in (-1,1),$$ $$u(-1)=1+\delta,\quad u(1)=-1.$$ Here $\nu>0$ is the viscosity, $\delta>0$ is a small ...
• 153
954 views

### Moving B.C.s in heat diffusion model

I came across the paper Solidification dynamics of an impacted drop regarding a heat equations by Thiévenaz et.al and was interested in knowing how they obtained the graphs presented. From what I ...
• 409
1k views

### How to plot InterpolatingFunction across its domain

I'm using NDSolve to solve a system of coupled ODEs for a range of different parameters. For most points in the parameter space, the integration breaks down ...
• 1,281
539 views

### Plot with different colors the results of an NDSolve with vector solution

Consider the following toy example: ...
• 7,663
1k views

### How can I improve the smoothness of my NDSolve solution?

This will, unfortunately, be a broader question than I prefer, but I do have a concrete example. I simulate many oscillatory systems with NDSolve. For short simulation times, the result is generally ...
• 643
215 views

### Parts of a Piecewise Matrix Function in NDSolve

First time posting. Reproducing the Problem I'm relatively new to Mathematica (using v.12.3), and working on a project. My problem can be reproduced with this. ...
292 views

### Incompatible InterpolatingFunction between V9 (and earlier) and V10

Bug introduced in 10.0.0 and fixed in 10.0.1 I am encountering compatibility issues when loading DumpSave(d) definitions in V10 that have been created with earlier ...
• 7,713
719 views

### Beautify a NDSolve Graph ! [duplicate]

I am doing the following: ...
• 2,510
409 views

### Using NDSolve with conditional expression

I am trying to solve the 2nd order ODE for a harmonic oscillator under the influence of a harmonic restoring force, a sliding friction force, and a static friction force. My equations are below:  x'...