Code for Duffing orbits

In[37]:=

If your output will be a sequence of graphs, select a display option.
Display as:

In[38]:=

If your output will be a sequence of graphs, select a display option.
Display as:

Up to Appendix: Code generating the examples