Define Periodicity Of Function