The function f(x) appears to return 1 for input values between -3 and 4.5 (inclusive), and 0 for input values outside of this range.

