The function f(x) takes a numerical input x and returns a value that is twice the input value.

