The function takes a numerical input and scales it by a factor of 2.
