The function f(x) returns 1 for positive inputs and 0 for negative inputs.

