我自己刚刚做的计算法, 希望对大家有帮助, 不好意思, 用了英文, 因为我用华语打字很慢. 请大家有耐心看完. 如果没有耐心, 直接跳去那个方程式就可以了.
Let nominal interest rate be i% per annum *This is purely for illustration purpose, bank interest rate compounded daily and this should contribute to the major source of error in this calculation. The main reason for for choosing one month is due to the fact that most of the installments are on monthly basis. Hence,compound factor to be used for computation purpose(compound once at the end of the month using effective interest rate calculated in the previous part) and let this = b. i.e. b= 1 + i / 12
let the month installment be R Amount borrowed be C Number of month be n, ie first month, n=1
Assume that the bank requires you to pay the installment on the first day right after they release the money(this amount may vary according to your time of entry,but it varies only for a small amount) | Month | Amount owed at the beginning of month | | | | | | | (C b – R b – R) x b = C b^2 – R b^2 – R b | | C b^2 – R b^2 – R b – R = C b^2 – (R b^2 + R b + R) | (C b^2 – R b^2 – R b – R) x b = C b^3 – R b^3 – R b^2 – R b | | I can derive the nth term from here, at which it is a combination of nth of a GP (for the capital part) and Summation for a GP for the repayment part: Basically, C x b^(n-1) – [R ((b^n ) -1)/ (b-1)] | |
l For yourinformation, summation for a GP = a((r ^n) – 1))/(r -1) , at which a= first term r= common ratio n= number of terms
Based on the derivation from the table, I can get the general formulae :
amount owed at the beginning of each month(尚欠总额) = C x b^(n-1) – [R ((b^n)-1) / (b-1)] , b= 1 + i / 12
i= 利息
R=每月还款
C=总贷款
n =还了多少个月
If you want to calculate the amount need to be repaid for a fixed number of months or fixed amount for a unknown number of years, the following inequality can be used: C x b^(n-1) – [R x ((b^n) -1))/ (b-1)] <= 0 , <= means less or equals to C x b^(n-1) <= [R x ((b^n)-1) / (b-1)] at which b= 1 + i / 12
Just for illustration purpose : To calculate the unknown R for a fixed number of n, Assume the nominal interest rate i to be 4.2% b= 1 + i / 12 = 1.0035 Assume number of years for the loan to be 35 years, hence n = 35 x 12 = 420 months And amount borrowed C = 400000 C x b^(n-1) – [R ((b^n ) -1)/ (b-1)] <= 0 400000x (1.0035 ^(420-1)) <= R x ((1.0035^420) – 1) /(1.0035 – 1) R>= 1813.06 A check with online mortgage calculator : | Calculation Result | | Monthly Payment: | RM 1,819.40 | | Loan Amount: | RM 400000 | | Interest Rate: | 4.20% | | Term of Loan: | 35 years |
The percentage error for this calculations turns out to be around: (1819.4 - 1813.06) / 1819.4 x 100% = 0.348%
Let me justify my stand for not using daily compound interest(which is used by most banks): It will greatly increase the difficulty for the derivation of the formulae since the interest is compounded at the end of the day but the installment is on monthly basis.
This formulae is quite versatile as it can be used to calculate the number of years for a fixed amount of installment, so roughly you can gauge how many months you need to finish the whole installment should you decide to increase the monthly installment and it can be used to calculate the amount owed after a fixed number of months as well.
本帖最后由 u0508950 于 23-4-2013 11:34 AM 编辑
|