summaryrefslogtreecommitdiff
path: root/2471/CH3/EX3.8/Ex3_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2471/CH3/EX3.8/Ex3_8.sce')
-rwxr-xr-x2471/CH3/EX3.8/Ex3_8.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/2471/CH3/EX3.8/Ex3_8.sce b/2471/CH3/EX3.8/Ex3_8.sce
new file mode 100755
index 000000000..11ae55f77
--- /dev/null
+++ b/2471/CH3/EX3.8/Ex3_8.sce
@@ -0,0 +1,23 @@
+clear ;
+clc;
+// Example 3.8
+printf('Example 3.8\n\n');
+printf('Page No. 69\n\n');
+
+//Refer figure 3.6
+// given
+n = 5;//years
+C = 80000;// COst of the project in Pound
+S = 0;// Zero Salvage Value
+A_E = [10000 20000 30000 40000 50000]// Annual Net cash flow for project E in Pound
+C_E = [10000 30000 60000 100000 150000]// Cummulative Net cash flow for project E in Pound
+A_F = [50000 40000 30000 20000 10000]// Annual Net cash flow for project F in Pound
+C_F = [50000 90000 120000 140000 150000]// Cummulative Net cash flow for project F in Pound
+
+//From the figure 3.6 (intercept of x-axis)
+P_F = 1.75;// in years
+P_E = 3.5;// in years
+printf('The pay-back time of project F is %.2f \n',P_F)
+printf('The pay-back time of project E is %.1f \n\n',P_E)
+
+printf('As the pay-back time is less for project F,\nProject F would always be choosen in practice\nsince prediction of savings in the early years are more reliable than long-term predictions.')