Create a Function to Visualize Periodicity 

The following program computes the periodicity of a function from the reals to itself. The program then uses that information to create a Manipulate showing the plot and its translation and how a translation by a full period is indistinguishable from no translation.

In[1]:=
Click for copyable input
X

This function has period and results in a plot from to .

In[2]:=
Click for copyable input
X
       
Click to play animation

This function has period and generates a plot from to .

In[3]:=
Click for copyable input
X
       
Click to play animation
de es ja pt-br zh