The function f(x) takes a numerical input x and multiplies it by a factor of around 2 or 3, depending on the sign of x.

