Solutions
For small initial displacements, the anharmonic oscillator behaves like the harmonic one, but the effect of the third order term can be seen by increasing s. With the third order term accounted for, the force takes on larger values and the oscillation speeds up.
In[36]:=
Out[42]=
Note that for ParametricPlot, one layer of the solution list has to be truncated (flattened) using the Part function.
In[43]:=
Out[47]=
Out[48]=
| Created by Mathematica (April 10, 2007) |