tanna.wirsch: Find an equation for this question:
You get a new job and your contract is one month long. On the first day your boss invests 1cent into an account for you which pays 100% interest per day. (on the second you get 2c, on the third you get 4c) On the last day of work your boss will close the account and give you the balance.
Can you find an equation to find the amount in the account at any given day?
I just finished and i then realized that I had read the question wrong. I thought I was getting paid an extra 1 cent every day but I am not. I am only getting paid 1c once.
Oh well, I've done it now so i will leave it there.
My made up question: You get a new job and your contract is one month long. On the first day your boss invests 1cent into an account for you which pays 100% interest per day. (on the second you get 2c, on the third you get 4c) On the last day of work your boss will close the account and give you the balance. He invests another 1c each day that you work and it also accrues interest at 100% per day.
day
1 ......1
2 ......2 + 1
3.......4 + 2 + 1
4 ......8 + 4 + 2 + 1
5 .....16+ 8 + 4 + 2 + 1
...
d .....2
n-1 + 2
n-2 + ......+1
So on day n (after the 1c payment) you will have 1+2+4+8+ ......+ 2
d-1 As Walt said, this is a GP
a=1 r=2
[This is just the formula - S stands for Sum] S
n=a(r
n-1) / (r-1)
S
d=1(2
d-1) / (2-1)
S
d= 2
d-1
So after d days I will have a total of 2
d-1 cents
To get a proper appreciation for this I will show you some earnings.
On the 10th day I will have 1023c or $10.23
On the 20th day I will have 1048575c or $10,485.75
On the 30th day I will have 1073741823 cents or $10,637,418.23
------------------------------------------------------------------------------------------------------------------------------------
I've finished now and I just realized that I misread the question. I thought I was getting paid an extra 1 cent every day but I am not. I am only getting paid 1c once.
What a cheap skate boss! Now I will have to start again.
Original Question: You get a new job and your contract is one month long. On the first day your boss invests 1cent into an account for you which pays 100% interest per day. (on the second you get 2c, on the third you get 4c) On the last day of work your boss will close the account and give you the balance.
[size=150]Walt was completely correct.[/size] On day d you will have 2
(d-1) cents or 2
(d-1)/100 dollars
On the 10th day I will have $5.12
On the 20th day I will have $5242.88
On the 30th day I will have $5,368,709.12
I would have rather had the 10.6 million dollars, not just a measely 5.3 million. What a disappointment!
This is the graph that Walt was talking about.
140121 Payment.JPG