Computer Science sorry
PLEASE PLEASE HELP ME
Exponentiation is the raising of one numbe...
Biology, 18.03.2021 02:00 ununoctrium5401
Computer Science sorry
PLEASE PLEASE HELP ME
Exponentiation is the raising of one number to the power of another.
This operation is performed using two asterisks **.
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.
Hint:
Let's see how exponentiation can be useful to perform the calculation.
For example, if we want to calculate how much money we will have on the 5th day, we can use this expression: 0.01*(2**5) = 0.32 dollars (multiply the penny by 2 raised to the power of 5).
Use the print statement to output the resulting amount.โ
Answers: 3
Biology, 22.06.2019 05:20
Which description provides the best objective summary of the article in the passage?
Answers: 1
Biology, 22.06.2019 08:00
Which feature of a human community is similar to a niche in a biological community
Answers: 2
Biology, 22.06.2019 11:50
Which of the following describes how binary fission and mitosis are similar? a)they are both used for growth or repair b)they both break down membrane-bound nuclei c)both invoke the replication of a single stand of dna d)both replicate genetic material
Answers: 1
Mathematics, 14.09.2020 06:01
English, 14.09.2020 06:01
Mathematics, 14.09.2020 06:01
Mathematics, 14.09.2020 06:01
Mathematics, 14.09.2020 06:01
Mathematics, 14.09.2020 06:01
Mathematics, 14.09.2020 06:01
Mathematics, 14.09.2020 06:01
Mathematics, 14.09.2020 06:01
Mathematics, 14.09.2020 06:01
Mathematics, 14.09.2020 06:01
Biology, 14.09.2020 06:01
Mathematics, 14.09.2020 06:01
Mathematics, 14.09.2020 06:01
Mathematics, 14.09.2020 06:01
Spanish, 14.09.2020 06:01
French, 14.09.2020 06:01
English, 14.09.2020 06:01
Chemistry, 14.09.2020 06:01
Computers and Technology, 14.09.2020 06:01