From these experiments, it seems that the function f(x) is giving an output of 0 for any input except 0, where it gives an output of 1.

