Wolfram Language & System 10.0 (2014)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

Use C Code to Solve a Differential Equation

Functions can take C code as input. This shows NDSolve computing Duffing's equation using the RungeKutta method.

    
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=