Discover the answers you need at Westonci.ca, a dynamic Q&A platform where knowledge is shared freely by a community of experts. Explore a wealth of knowledge from professionals across different disciplines on our comprehensive platform. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

2. Let's pretend I'd give you a penny today, two pennies
tomorrow, four pennies the next day, etc. Write a function
that expresses the amount of money I'd be giving you on
thenth day. Give us your function in the initial post and give us
a little explanation about how it works.
Would you rather have me give you 40 days of this money
scheme or a billion dollars?


Sagot :

toacup
answer:
-f(n+1) = f(n) x 2
-on the 10th day you'd receive $512
-this function works by taking the output of the last input and multiplying it by 2 to find the new output.
-i'd rather take 40 days of this money scheme.

example of use:
f(10) = f(9) x 2
output of f(9) is 256 so f(10) = 256 x 2