Read Chapter 4 of A New Kind of Science here

Read other posts in the NKS Summer School Series

The first example used is the function where f[0]=0. and f[x]=x. This is a straight line, as one can see:

ch4ex1

ch4ex2

ch4ex3ch4ex4ch4ex5