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]:=
X
This function has period and results in a plot from to .