The function f(x) takes a numerical input and returns a value that is roughly half the input value, unless the input is greater than 10, in which case the function adds 10 to the input value.

