A function from a set to a set is a relation that assigns to each element in the set exactly one element in the set . The set is the domain (also called the set of inputs) of the function and the set contains the range (also called the set of outputs).
As you can see from the graph is valid for all real numbers. This is true because this function is continuous. Another characteristic of this function is that it is periodic.