Advertisement
Guest User

Untitled

a guest
Mar 5th, 2012
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1. import static org.junit.Assert.*;
  2.  
  3. import org.junit.Test;
  4.  
  5.  
  6. public class PresentValue {
  7.  
  8.  
  9.  
  10. public void getpPresentValue()
  11. {
  12. return pPresentValue;
  13. }
  14.  
  15.  
  16. public void getPresentValue()
  17. {
  18. pPresentValue =
  19. }
  20.  
  21. public static getPVOAFactorTable()
  22. {
  23. System.out.println("n 1% 2% 3% 4% 5% 6% 7% 8% 9% 10% 11% 12% 13% 14% 15%");
  24. System.out.println("1 .990 .980 .971 .962 .952 .943 .935 .926 .917 .909 .901 .893 .885 .877 .870");
  25. System.out.println("2 1.970 1.942 1.913 1.886 1.859 1.833 1.808 1.783 1.759 1.736 1.713 1.690 1.668 1.647 1.626");
  26. System.out.println("3 2.941 2.884 2.829 2.775 2.723 2.673 2.624 2.577 2.531 2.487 2.444 2.402 2.361 2.322 2.283");
  27. System.out.println("4 3.902 3.808 3.717 3.630 3.546 3.465 3.387 3.312 3.240 3.170 3.102 3.037 2.974 2.914 2.855");
  28. System.out.println("5 4.853 4.713 4.580 4.452 4.329 4.212 4.100 3.993 3.890 3.791 3.696 3.605 3.517 3.433 3.352");
  29. System.out.println("6 5.795 5.601 5.417 5.242 5.076 4.917 4.767 4.623 4.486 4.355 4.231 4.111 3.998 3.889 3.784");
  30. System.out.println("7 6.728 6.472 6.230 6.002 5.786 5.582 5.389 5.206 5.033 4.868 4.712 4.564 4.423 4.288 4.160");
  31. System.out.println("8 7.652 7.325 7.020 6.733 6.463 6.210 5.971 5.747 5.535 5.335 5.146 4.968 4.799 4.639 4.487");
  32. System.out.println("9 8.566 8.162 7.786 7.435 7.108 6.802 6.515 6.247 5.995 5.759 5.537 5.328 5.132 4.946 4.772");
  33. System.out.println("10 9.471 8.983 8.530 8.111 7.722 7.360 7.024 6.710 6.418 6.145 5.889 5.650 5.426 5.216 5.019");
  34. System.out.println("11 10.37 9.787 9.253 8.760 8.306 7.887 7.499 7.139 6.805 6.495 6.207 5.938 5.687 5.453 5.234");
  35. System.out.println("12 11.26 10.58 9.954 9.385 8.863 8.384 7.943 7.536 7.161 6.814 6.492 6.194 5.918 5.660 5.421");
  36. System.out.println("13 12.13 11.35 10.63 9.986 9.394 8.853 8.358 7.904 7.487 7.103 6.750 6.424 6.122 5.842 5.583");
  37. System.out.println("14 13.00 12.11 11.30 10.56 9.899 9.295 8.745 8.244 7.786 7.367 6.982 6.628 6.302 6.002 5.724");
  38. System.out.println("15 13.87 12.85 11.94 11.12 10.38 9.712 9.108 8.559 8.061 7.606 7.191 6.811 6.462 6.142 5.847");
  39. System.out.println("16 14.72 13.58 12.56 11.65 10.84 10.11 9.447 8.851 8.313 7.824 7.379 6.974 6.604 6.265 5.954");
  40. System.out.println("17 15.56 14.29 13.17 12.17 11.27 10.48 9.763 9.122 8.544 8.022 7.549 7.120 6.729 6.373 6.047");
  41. System.out.println("18 16.40 14.99 13.75 12.66 11.69 10.83 10.06 9.372 8.756 8.201 7.702 7.250 6.840 6.467 6.128");
  42. System.out.println("19 17.23 15.68 14.32 13.13 12.09 11.16 10.34 9.604 8.950 8.365 7.839 7.366 6.938 6.550 6.198");
  43. System.out.println("20 18.05 16.35 14.88 13.59 12.46 11.47 10.59 9.818 9.129 8.514 7.963 7.469 7.025 6.623 6.259");
  44. }
  45.  
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement