The function f(x) takes a numerical input x and returns twice the input, i.e., f(x) = 2x.

