I start with a value A. I decrease it by M each month m. Every year (ie, m mod 12 =0), I calculate the average of what A has been throughout the year, multiply that by t, and add it to A. This goes on until A reaches 0 (t and M are set in such a way that A decreases every year). How many months m would that take ?
Similarly, given A and M, if I want A to reach 0 after m months, what does the value of t need to be ?
In other words, I have a capital A that has been given to me by a bank B1. B1 asks me to return M dollars every month, until it reaches a value N that was predefined by B1 (B1 also calculates this in terms of a interest percentage, but I don't understand the definition of that interest value). I put the money A that B1 gave me into a bank B2. What does the yearly interest t in bank B2 need to be so that it is the threshold between winning and losing money ?
These may seem like 3 different questions, but I think that once put into equation, I think it's easy to answer all of these by just expressing one variable as a function of others.
I ask a bank B1 to lend me A=10,000 dollars. In exchange for that 'donation', B1 wants me to give M=100 dollars for 10 years (m=120). In the end, as you can see, I end up giving more (12000 dollars) than I was given. However, I do not plan to use these 10,000 dollars. Instead, I just put it into a bank B2 and wait for interest rates to inflate my money. If don't know how this is done in your country, but in mine, I think the interest rates are given at the end of the year, but calculated monthly (I think that one other way to say that is to say that it is calculated yearly, but with the average of what you had in your balance throughout the year, hence my explanation in the first paragraph). Interests over interests don't apply monthly, but yearly. This is to say that if you have 100 dollars the first year, with an interest rate of 2%, then the second year you have 100+2, but the third you have 100*1.02*1.02=1.0404 instead of just 100+2+2=104. So if I could have these 10,000 dollars for 10 years, I would have 10000*t^(m/12). But I don't have A=10000 dollars for 10 years, because they keep decreasing as I have to give M=100 dollars away every month. So first of all, I'm trying to find a formula (not a estimate by excel, but an exact mathematical formula) that says what is my balance after m months. Then I'm trying to find what value t (the interest rate from bank B2) needs to be (depending on the value of M) so that I end up winning money by asking B1 to give me money and placing this money into B2.