The function takes a real number input and multiplies it by 2.

