The function takes a numerical input x and returns 2 raised to the power of x.

