Linked Questions

0 votes
2 answers
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 ...
Rahmad's user avatar
  • 13
214 votes
26 answers
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?...
43 votes
6 answers
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 ...
polyglot's user avatar
  • 775
14 votes
3 answers
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: ...
KZ-Spectra's user avatar
15 votes
1 answer
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 ...
Markus Roellig's user avatar
8 votes
2 answers
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 ...
user68161's user avatar
  • 153
10 votes
1 answer
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 ...
DMH16's user avatar
  • 409
6 votes
1 answer
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 ...
Janosh's user avatar
  • 1,281
2 votes
4 answers
539 views

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

Consider the following toy example: ...
glS's user avatar
  • 7,663
2 votes
2 answers
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 ...
KBL's user avatar
  • 643
4 votes
4 answers
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. ...
celestialmelody's user avatar
11 votes
1 answer
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 ...
Markus Roellig's user avatar
3 votes
2 answers
719 views

Beautify a NDSolve Graph ! [duplicate]

I am doing the following: ...
henry's user avatar
  • 2,510
5 votes
2 answers
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'...
Connor Fuhrman's user avatar
6 votes
1 answer
315 views

Convert interpolating function to a Bezier curve

I've been wondering, is there a way to convert an interpolation into a sequence of BezierCurve objects that form each step in the interpolation? There is an easy ...
Michael E2's user avatar
  • 238k

15 30 50 per page