The mathematical principle of personal housing loan calculator

Source: Internet
Author: User

1. The deduction of the formula for calculating the monthly amount of equal principal and interest law

In the previous essay "Use C # write personal housing Loan calculator" mentioned that, such as interest rate unchanged in the case of the monthly repayment amount is fixed, so also known as the "matching method", the calculation formula is as follows:

Monthly Return amount = Loan amount x Month rate x (1 + month rate) period
(1 + monthly interest rate) number of periods -1

Now let's deduce the formula.

We know that the method of equal principal and interest is calculated as follows:

Monthly interest rate = Last month's remaining loan balance X-month interest

This month also the principal = monthly amount-The month also interest

Remaining loan balance of the month = remaining loan balance last month-month return principal

So:

Remaining loan balances for the month

= remaining loan balance last month-monthly return principal

= remaining loan balance of last month-(monthly amount-monthly interest)

= Last month's remaining loan balance-monthly payment + month interest

= Last month remaining loan balance-monthly amount + last month's remaining loan amount of X-month interest rate

= Last month remaining loan balance X (1 + monthly interest rate)-monthly return amount

Set

A = Loan Amount

R = Monthly interest rate

n = number of periods

z = Monthly return amount

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.