使用贴现率8%和12%分别计算每个项目的净现值(NPV),提交源代码和实验结果截图,编程语言不限 (JAVA实现) |
您所在的位置:网站首页 › npv折现率的确定 › 使用贴现率8%和12%分别计算每个项目的净现值(NPV),提交源代码和实验结果截图,编程语言不限 (JAVA实现) |
package com.zuoye.Three; import java.math.BigDecimal; public class TieXianLu { public static void main(String[] args) throws Exception { //数据集合 int[] math1 = new int[]{-100000, 10000, 10000, 10000, 20000, 100000}; int[] math2 = new int[]{-1000000, 200000, 200000, 200000, 200000,300000}; int[] math3 = new int[]{-100000, 30000, 30000, 30000, 30000, 30000}; int[] math4 = new int[]{-120000, 30000, 30000, 30000, 30000, 75000}; //贴现率 double [] txl = new double[] {0.08,0.12}; double[][] b=new double[2][6]; //求贴现因子 for (int i=0;i |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |