Let's use exponentiation to solve a known
problem.
You are offered a choice of either $1.000.000
or $0.01 (one penny) doubled every day for
30 days (the resulting amount is doubled
every day).
Task:
Write a program to calculate the amount that
will result from the doubling to understand
which choice results in a larger amount.program for this in python 3
Answers
Answered by
18
Explanation:
As in the problem says the money is doubled every day for 30 days, we have to exponentiate 2 with 30 and multiply it with the amount.
Similar questions