Question: Creating periodic extensions

Suppose that I define a unit step function:

u:=t->piecewise(t<0,0,t>=0,1):

How can you periodiclly extend this functions so that it has a period of p ?

Please Wait...