Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

A question for the math-guru''s

This is where you can discuss your homework, family, just about anything, make strange sounds and otherwise discuss things which are really not related to the Lancer-series. Yes that means you can discuss other games.

Post Tue Mar 29, 2005 6:08 pm

A question for the math-guru''s

I've got a problem. Well, not really a problem, but I can't figure it out and that bugs me.

Here's my problem:
I'm 18 years old and I want to open a savings account in which I want to deposit 25 dollars on a weekly basis. You know, just to save some money for later in my life. The annual savingsrate is fixed at 2.3%. Now, I wanted to come up with a formula with which I can find out how much money I'll have at the end of year n . For some reason I just can't find the right formula which will give me the same results as when I work it all out on paper.

So I ask you guys, can you help me make a working formula?
This is the info I can give you:
y(n )= the money in my account at the end of year n
The fixed rate is paid at the end of each year.
n = the numbers of years that the money is in my account (annual rate included)
y(1 )= 1200*2.3%= 1227.6 (money at the end of year one) (1200= 25 (euros)*4(weeks)*12 (months)
2.3%= fixed annual rate

For the record: a month is set on 30 days, where the year is set on 360 days.
I hope you guys can help me.

_______________________
The machine does not isolate man from the great problems of nature, but plunges him more deeply into them. -Antoine de Saint Éxupery

Edited by - Navillia on 3/29/2005 7:10:05 PM

Post Tue Mar 29, 2005 10:39 pm

First of all, 25 (per week) times 52 (weeks) = 1300...not 1200

Secondly, the interest rate...is it really compounded on a yearly basis (extremely rare) or is it compounded at 2.3% on a monthly basis? It makes a big difference. 2.3% compounded on a monthly basis would be 0.001916666 each month and with money going in each week it would increase exponentially based on the element of time. Also the exact moment the deposits are made in relation to when the monthly rate is calculated in the long run will certainly have an impact on your bottom line.

Example: deposits made on Friday in that first month will have a different amount to calculate at the moment of calculation than perhaps deposits made on a Monday. Since 30 days is your monthly average based on 360 days, we all know there's more days than that in a given year.

So a not so easy solution to your problem persists...unless of course you're just looking for a ballpark estimate then is becomes relativly easy to compute your money on hand each year if you differentiate exactly how the interest rate is really calculated.

Damn that was a mouthful!

Rob "Stinger" Lordier
You like poems? --> Voicesnet.com
Creator of the original Privateer FAQ
old Favorite saying - No good deed goes unpunished

Edited by - Stinger on 3/29/2005 11:40:20 PM

Post Wed Mar 30, 2005 1:43 am

If you're going with an annual interest rate then it becomes fairly easy to work out, especially with fixed-size contributions. The formula you're looking for is as follows:

y(n) = P(1 + r)n + c[((1 + r)^(n + 1) - (1 + r))/r

Where:
y(n) is the balance after n years
P is the initial balance
r is the interest rate, expressed as a decimal (0.023 in your case)
c is the value of the annual contributions.

For example:
y(0) = 0*(1+0.023)^0 + 1200*(((1+0.023)^(0+1)-(1+0.023))/0.023) = 0
y(1) = 0*(1+0.023)^1 + 1200*(((1+0.023)^(1+1)-(1+0.023))/0.023) = 1227.6
y(2) = 0*(1+0.023)^2 + 1200*(((1+0.023)^(2+1)-(1+0.023))/0.023) = 2483.44
etc.

As long as the initial balance is 0 you can ignore the first part of the equation completely, since it equates to 0^n which is always 0. You are then left with:

c[((1 + r)^(n + 1) - (1 + r))/r

which is a (simple) geometric series.

Class dismissed

Edited by - Accushot on 3/30/2005 2:51:16 AM

Post Wed Mar 30, 2005 1:53 am

@T E T

I think you've missed the annual contributions out of the formula. That formula is correct for a fixed amount of money gaining compound interest every year, but you also have to take into account the 1300 euros going in every year as well. Crudely, the interest sould not be applied to these contributions on the year that they were made, but in every subsequent year they would gain interest with the rest of the account.

Post Wed Mar 30, 2005 2:03 am

@Accushot: oh bloody hell, yes you're right. Never mind.

*POST DELETED*

Edited by - The Evil Thing on 3/30/2005 3:06:53 AM

Post Wed Mar 30, 2005 2:05 am

Thank you Accushot, that was exactly what I was looking for!
Cheers mate!

Edit: As I told you guys, my bank sets 30 days in a month, and 360 in a year. I however, would set 28 days in a month, just to make it easier. Therefore, I'd contribute 4 times a month, times twelve months, which sets my annual contribution at 1200 instead of 1300. Then I can always take the remaining days per month, mulitply them by twelve (2*12=24) and make an extra contribution (let's say an additional 100) right before the end of the financiel year (or something like that).

But thanks again guys

Edited by - Navillia on 3/30/2005 3:11:17 AM

Return to Off Topic