0

Exponential code project( how is this logically possible?)

It's the first project after completing the basics. For some reason I'm having a hard time understanding how a penny doubled daily is more than 1000 doubled daily. I know I'm bad at math but I'm just having a hard time wrapping my head around it after solving the coding problem.

2nd Feb 2022, 9:55 AM
TYLER
5 odpowiedzi
+ 4
¿? "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)." Options are: •0.01 doubled daily for 30 days •or a million immediately
2nd Feb 2022, 10:19 AM
CGM
CGM - avatar
+ 3
Hi TYLER You haven't phrased your question very well, but I think I understand your query. The best way to understand exponentation is to do a little experiment which your body & mind can understand. Tomorrow go for a walk - take one step only. The next day, take 2 steps only. The day after, 4 steps only. Day 4 -> 8 steps Day 5 -> 16 steps In 30 days, tell me how far you walked
2nd Feb 2022, 10:19 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 3
Ah thanks guys. I understand now. I read the question wrong. I thought the 1000 was also doubled for 30 days.
2nd Feb 2022, 10:31 AM
TYLER
+ 2
What do you mean? 1000 doubled daily is literally 100000 times more than 0.01 doubled daily
2nd Feb 2022, 10:09 AM
CGM
CGM - avatar
0
The task says the answer Is the larger amount of the choices but the coding output reflects the 0.01 a day as the answer. That's why I was confused since I thought the code for the 1000 would be the correct code since it's a larger amount than the 0.01.
2nd Feb 2022, 10:17 AM
TYLER