I cant answer exponentiation | Sololearn: Learn to code for FREE!

-5

I cant answer exponentiation

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). I dont understand

4/11/2021 8:58:12 PM

Eros Leonardo Ley

7 Answers

New Answer

+3

you either chose 1,000,000 or (0.01×2^30), so after 30 days this amount becomes 10,737,418.24. the second choice is better.

+2

Before you consider solve the problem with Python, you have to understand how to solve it mathematically. Can you solve it mathematically?

+1

Yes Per i understand it Thx

0

I cant answer two cases at the same time

0

Thats about mathematical relations: if Case_A > Case_B: print(“Case_A is better “) elif Case_A < Case_B: print(“Case_B is better“) else: print(“Case_A and Case_B are equal.“)

0

Obviously I missunderstood you. So what do you mean with “I cant answer two cases at the same time”?

0

First solve the problem mathematically, then implement it.