Read the instructor's comments here.
One example for periodic function would be a standard sinusoidal function: y = sin(x)
An example for non periodic function would be a line that keep going: y = x