Computer Science sorry
PLEASE PLEASE HELP ME
Exponentiation is the raising of one numbe...
![Biology](/tpl/images/cats/biologiya.png)
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.
![answer](/tpl/images/cats/otvet.png)
Answers: 3
Other questions on the subject: Biology
![image](/tpl/images/cats/biologiya.png)
![image](/tpl/images/cats/biologiya.png)
Biology, 22.06.2019 01:00, akluke6059
Put the following processes of protein synthesis in the correct order: - dna strands unwind and separate - mrna copies dna according to complimentary base pairing - trna's anticodons bring amino acids to the corresponding mrna codons - amino acids bind to each other making a protein - mrna leaves the nucleus - a stop codon is reached, the newly formed protein is released to go do its job for the cell
Answers: 1
![image](/tpl/images/cats/biologiya.png)
Do you know the correct answer?
Questions in other subjects:
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/fizika.png)
![Konu](/tpl/images/cats/health.png)
Health, 10.12.2021 01:00
![Konu](/tpl/images/cats/health.png)
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/fizika.png)
Physics, 10.12.2021 01:00
![Konu](/tpl/images/cats/himiya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 10.12.2021 01:00