YES
f(x)=0 when x is from (-infinity to 1)
f(x)=0.40x when x is from [1 to 99]
f(x)=0.50x when x is from (99 to +infinity)
Here f(x) is what Joaquin earns which is dependent on the weight (represented by x), thus the amount of money he receives is a function of weight.