The function f(x) takes numerical inputs and returns an output that is twice the input, except for the input 0, which returns 0. The function also displays periodic behavior, oscillating between 2 and -2 as the input increases or decreases.
