当前位置:网站首页>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
},
边栏推荐
- Gradle's method of dynamically modifying APK package name
- Explain sizeof, strlen, pointer, array and other combination questions in detail
- [set theory] order relation (total order relation | total order set | total order relation example | quasi order relation | quasi order relation theorem | bifurcation | quasi linear order relation | q
- [linear table] basic operation of bidirectional linked list specify node exchange
- Deep parsing JVM memory model
- Mxone Pro adaptive 2.0 film and television template watermelon video theme apple cmsv10 template
- UE4 source code reading_ Bone model and animation system_ Animation node
- Concurrent programming (VI) ABA problems and solutions under CAS
- LinkedList set
- 796 · unlock
猜你喜欢
![[concurrent programming] working mechanism and type of thread pool](/img/51/d21428a7c95c0a5177e8198742e78c.jpg)
[concurrent programming] working mechanism and type of thread pool

单调栈-503. 下一个更大元素 II

Analysis of Alibaba canal principle

matlab神經網絡所有傳遞函數(激活函數)公式詳解

Osgearth target selection

单调栈-42. 接雨水

OpenGL learning notes
![[concurrent programming] thread foundation and sharing between threads](/img/26/60fbfe65b186867a3b1cb58d481226.jpg)
[concurrent programming] thread foundation and sharing between threads

Log4j2 vulnerability recurrence and analysis
![[MySQL] MySQL Performance Optimization Practice: introduction of database lock and index search principle](/img/b7/7bf2a4a9ab51364352aa5e0a196b6d.jpg)
[MySQL] MySQL Performance Optimization Practice: introduction of database lock and index search principle
随机推荐
【Rust 笔记】10-操作符重载
Monotonic stack -84 The largest rectangle in the histogram
使用base64编码传图片
Osgearth starry background
LinkedList set
Deep parsing (picture and text) JVM garbage collector (II)
第一个Servlet
[rust notes] 06 package and module
Cloudcompare learning (1) - cloudcompare compilation and common plug-in implementation
[K & R] Chinese Second Edition personal questions Chapter1
Location of package cache downloaded by unity packagemanager
Campus lost and found platform based on SSM, source code, database script, project import and operation video tutorial, Thesis Writing Tutorial
How to deal with the core task delay caused by insufficient data warehouse resources
XPath实现XML文档的查询
Analysis of Alibaba canal principle
JS non Boolean operation - learning notes
Unity editor expansion - draw lines
Explain sizeof, strlen, pointer, array and other combination questions in detail
Talking about: is the HashSet set ordered or disordered /hashset set unique, why can we store elements with the same content
Life cycle of Servlet