⑴ 如何計算貸款還款每個月的還款金額公式是什麼
計算貸款還款每個月的還款金額如下:
1、等額還款計算公式:
每月還本付息金額 = [ 本金 * 月利率 * (1+月利率)∧貸款月數 ]/[(1+月利率)∧貸款月數 - 1]
(註:貸款月數是(1+月利率)的指數)
2、等本還款計算公式:
每月還本付息金額 = (本金 / 還款月數)+ (本金 _ 累計已還本金)* 月利率。
3、根據稅法規定,房產稅的計算方法有以下兩種:
(一)按房產原值一次減除30%後的余值計算。其計算公式為:年應納稅額=房產賬面原值×(1-30%)×1.2%
(二)按租金收入計算,其計算公式為:年應納稅額=年租金收入×適用稅率(2%)。
不同的還款方式,所計算的方法不一樣,個人可以根據具體的貸款方式分析一下採取哪種方法還款比較劃算。
⑵ 怎麼計算個人每月貸款還款額
1、等額還款計算公式:
每月還本付息金額 = [ 本金 * 月利率 * (1+月利率)∧貸款月數 ]/[(1+月利率)∧貸款月數 - 1]
(注:貸款月數是(1+月利率)的指數)
2、等本還款計算公式:
每月還本付息金額 = (本金 / 還款月數)+ (本金 – 累計已還本金)* 月利率
⑶ java 寫出下列方法的方法頭:根據貸款額loanAmount,還款年數years,年利率InterestRate,計算月支付額
public double defray (double loanAmount, int years, double interesRate);
是這個意思嗎?
⑷ 用JAVA編寫用戶輸入利率、年數、貸款總額,程序計算每月分期付款金額和總金額。每月分期付款計算公式:
#include<stdio.h>
#include<conio.h>
main()
{
int Year; /*年數*/
double Rate ,Monrate,Load,Money; /*變數依次為利率,月利率,貸款總額,月還款額*/
printf("Please input money rate\n ");
scanf("%lf",&Rate);
printf("Please input monthly money rate\n ");
scanf("%lf",&Monrate);
printf("Please input load ceiling\n ");
scanf("%lf",&Load);
printf("Please input year\n ");
scanf("%d",&Year);
Money=(Load*Monrate)/(1-(1.0/((1+Monrate)*Year*12)));
printf("------Your monthly payments is %lf------\n",Money);
getch();
}
這是c語言板的,Java還沒學呢, 思想都差不多的。
⑸ 求計算 「貸款支付額」的 java 程序
//文件名為ComputeLoan.java
/**
* Filename is ComputeLoan.java
* Compute the total amount of loan payment
*/
import javax.swing.JOptionPane;
public class ComputeLoan {
//Main Method
public static void main(String [] agrs) {
//enter yearly interst rate
String anunalInterestRateString = JOptionPane.showInputDialog("Please input " +
"the aunual interset\n rate,for example 7.8");
//convert string to double
double annualInterestRate = Double.parseDouble(anunalInterestRateString);
//covert annual interest rate to monthly interest rate
double monthlyInterestRate = annualInterestRate / 1200;
System.out.println("the annual interest rate is "+annualInterestRate);
System.out.println("the monthly interest rate is "+monthlyInterestRate);
//enter number of years
String numOfYearsString = JOptionPane.showInputDialog("Please input " +
"the number of years,for example 5");
//conver string to integer
int numOfYears = Integer.parseInt(numOfYearsString);
System.out.println("the number of years is " + numOfYears);
//enter total loan
String totalLoanInput = JOptionPane.showInputDialog("Please input total loan" +
" ,for example 9899888.2");
//conter string to double
double totalLoan = Double.parseDouble(totalLoanInput);
System.out.println("the total loan is " + totalLoan);
//calculate the total amount of monthly payment
double totalMonthlyPayment = totalLoan * monthlyInterestRate /
(1 - 1 / (Math.pow(1 + monthlyInterestRate, numOfYears * 12)));
double totalYearlyPayment = totalMonthlyPayment * 12 * numOfYears;
//format to keep two digits after the decimal point
totalMonthlyPayment = (int)(totalMonthlyPayment *100) / 100.0;
totalYearlyPayment = (int)(totalYearlyPayment * 100) / 100.0;
//Display result
String output = "The monthly payment is \n"
+ totalMonthlyPayment + "\nThe total loan payment is \n"
+ totalYearlyPayment;
JOptionPane.showMessageDialog(null, output);
}
}
⑹ 計算貸款付款額
銀行都有自己的利率的!
⑺ 怎麼計算銀行貸款每月的具體還款金額
計算銀行貸款每月的具體還款金額:
等額本息計算公式:
[貸款本金
×
月利率
×
(
1
+月利率)^還款月數]
÷
[(
1
+月利率)^還款月數-
1
]
;
等額本金計算公式:每月還款金額
=
(貸款本金
/
還款月數)
+
(本金
—
已歸還本金累計額)
×
每月利率。
(其中^符號表示乘方)
註:貸款第一月還款額度會略高於計算額度,因需加上前一個月多餘的幾日的需還款額度。
⑻ java編寫程序:要求用戶輸入貸款的年利率,總金額和年數,程序計算月支付金額和
你也不說計算公式,不知道怎麼計算,我去網上找了一個月支付款的計算公式,不知道和你題目的要求是否一樣,如果不一樣你就改下公式就行。
java代碼如下:
publicclassLoan{
publicstaticvoidmain(String[]args){
doublerate;//利率
intyear;//年數
doublemoney;//貸款總額
doublemonthpay;//月付款
Scannersc=newScanner(System.in);
System.out.println("輸入月利率:");
rate=sc.nextDouble();
System.out.println("輸入年數:");
year=sc.nextInt();
System.out.println("輸入貸款總額:");
money=sc.nextDouble();
//計算月付款
monthpay=(money*rate)/Math.abs(1-(1/(1+rate)*year*12));
System.out.println("每月應該還貸款:"+monthpay);
}
}