subject
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.​

ansver
Answers: 3

Another question on Biology

question
Biology, 21.06.2019 19:50
Consider the last statement in the prompt: "people take such environmental factors into account in their choices when deciding where to live." do all people have a choice as to where they live? what factor plays a key role in this decision and may therefore play a large role in determining quality of life?
Answers: 3
question
Biology, 22.06.2019 06:30
Which statement describes a way in which the digestive and excretory systems work together? a. the nephrons absorb nutrients from food going to the large intestine. b. the excretory system balances blood gases in the small intestine. c. the intestinal villi filter blood and send wastes to the bladder. d. the excretory system balances the salts and water obtained from digested food
Answers: 1
question
Biology, 22.06.2019 07:00
About how much of the cell mass is watet
Answers: 1
question
Biology, 22.06.2019 08:00
Choose the correct words to complete the sentences related to genetic screening. is a procedure that is used during pregnancy to detect genetic defects. is extracted from the uterus and used to identify genetic disorders?
Answers: 3
You know the right answer?
Computer Science sorry PLEASE PLEASE HELP ME

Exponentiation is the raising of one numbe...
Questions
question
Mathematics, 14.04.2021 22:10
question
Mathematics, 14.04.2021 22:10
question
Mathematics, 14.04.2021 22:10
question
English, 14.04.2021 22:10
question
Spanish, 14.04.2021 22:20
question
Mathematics, 14.04.2021 22:20
Questions on the website: 13722367