loan

分期貸款的每月應附金額

Contents

Syntax

Description

loan is the inverse function of saving:

Example

total=500;
r=3/100;
n=20;
p=loan(total, r, n);
fprintf('期初貸款總額=%.2f萬, 利率=%.2f%%, 期數=%d年, 月繳=%.2f萬\n', total, r*100, n, p);
期初貸款總額=500.00萬, 利率=3.00%, 期數=20年, 月繳=2.77萬

See Also

saving.


Top page   Next: lineFit.m   Prev:localMax.m