当前位置:网站首页>Mortgage Calculator
Mortgage Calculator
2022-07-03 08:46:00 【bin9153】
Calculation formula of equal principal repayment :
1. Monthly contributions =( Loan principal ÷ Number of repayment months )+( Loan principal - The accumulated amount of principal paid back )× An interest
2. Monthly repayment of principal = Loan principal ÷ Number of repayment months
3. Monthly interest payable = Remaining principal × An interest =( Loan principal - The accumulated amount of principal paid back )× An interest
4. Decreasing amount of monthly supply = Monthly repayment of principal × An interest = Loan principal ÷ Number of repayment months × An interest
5. Total interest =〔( Total loan amount ÷ Number of repayment months + Total loan amount × An interest )+ Total loan amount ÷ Number of repayment months ×(1+ An interest )〕÷2× Number of repayment months - Total loan amount
![]()
B Equal principal and interest monthly payment
A The total amount of the loan
i An interest
n Loan period ( Unit month )
An interest = Annual interest rate /12
Equal principal
// Equal principal Total interest
getMonthMoney5(a, n, m) {
// 5. Total interest =〔( Total loan amount ÷ Number of repayment months + Total loan amount × An interest ) + Total loan amount ÷ Number of repayment months ×(1 + An interest ) 〕÷2× Number of repayment months - Total loan amount
// a The principal
// n Total repayment months
// t Current repayment months
// m An interest
// lx Total payment
var lx = 0
for (let t = 1; t <= n; t++) {
lx = (a - a * (t - 1) / n) * m
lx = lx + lx
}
console.log('lx>>', lx)
return lx
},
边栏推荐
- 请求参数的发送和接收
- Binary to decimal, decimal to binary
- Message queue for interprocess communication
- Deeply understand the underlying data structure of MySQL index
- Markdown directory generation
- Cesium for unreal quick start - simple scenario configuration
- Es8 async and await learning notes
- [cloud native] introduction and use of feign of microservices
- Deep parsing (picture and text) JVM garbage collector (II)
- Markdown learning
猜你喜欢

Introduction to Base64 coding

Notes on understanding applets 2022/7/3

22-06-27 西安 redis(01) 安装redis、redis5种常见数据类型的命令

Thymeleaf 404 reports an error: there was unexpected error (type=not found, status=404)

Cloudcompare learning (1) - cloudcompare compilation and common plug-in implementation

了解小程序的笔记 2022/7/3

Concurrent programming (VI) ABA problems and solutions under CAS
![[cloud native] introduction and use of feign of microservices](/img/39/05cf7673155954c90e75a8a2eecd96.jpg)
[cloud native] introduction and use of feign of microservices

分配异常的servlet

Display terrain database on osgearth ball
随机推荐
Graphics_ Games101/202 learning notes
Osgearth target selection
JS non Boolean operation - learning notes
Detailed explanation of all transfer function (activation function) formulas of MATLAB neural network
22-06-28 西安 redis(02) 持久化机制、入门使用、事务控制、主从复制机制
[concurrent programming] concurrent security
Creation of osgearth earth files to the earth ------ osgearth rendering engine series (1)
Development experience and experience
Message queue for interprocess communication
Osgconv tool usage
[RPC] RPC remote procedure call
【Rust 笔记】08-枚举与模式
UE4 source code reading_ Mobile synchronization
Concurrent programming (V) detailed explanation of atomic and unsafe magic classes
Concurrent programming (VI) ABA problems and solutions under CAS
【Rust 笔记】11-实用特型
Osgearth topographic shading map drawing
P1596 [USACO10OCT]Lake Counting S
Alibaba canal actual combat
Swagger document configuration