The function takes a numerical input and returns a periodic