New in Wolfram Mathematica 7: Delay Differential Equations  previous | next 
Solve a Chaotic Delay Differential Equation
Enter a delay differential equation in standard mathematical format, then immediately solve it. This shows a solution of the Mackey-Glass equation; for the parameter values chosen the solution is chaotic.
In[1]:=

Click for copyable input
mge = {x'[t] == 0.4 x[t - 18]/(1 + x[t - 18]^10) - 0.2 x[t], 

   x[t /; t <= 0] == 1/2};
In[2]:=

Click for copyable input
sol = NDSolve[mge, x, {t, 500, 1000}] 
Out[2]=

In[3]:=

Click for copyable input
ParametricPlot[{x[t], x[t - 18]} /. sol, {t, 518, 1000}, 

 Frame -> True, FrameLabel -> {x[t], x[t - 18]}]
Out[3]=