From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1208/CH4/EX4.2/Exa2.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 1208/CH4/EX4.2/Exa2.sce (limited to '1208/CH4/EX4.2') diff --git a/1208/CH4/EX4.2/Exa2.sce b/1208/CH4/EX4.2/Exa2.sce new file mode 100755 index 000000000..92847fc7d --- /dev/null +++ b/1208/CH4/EX4.2/Exa2.sce @@ -0,0 +1,23 @@ +//Exa 2 +clc; +clear; +close; +//given data : +//cash in flows of 1st,2nd,3rd and 4th years +CIF1=20000;//in Rs. +CIF2=30000;//in Rs. +CIF3=40000;//in Rs. +CIF4=50000;//in Rs. +//Cummulative cash in flows of 1st,2nd,3rd and 4th years +CumCIF1=20000;//in Rs. +CumCIF2=50000;//in Rs. +CumCIF3=90000;//in Rs. +CumCIF4=140000;//in Rs. +disp("In the table it can be seen that in 3 years 90000 Rs has been recovered, Rs. 10000 is left out of initial investment.") +disp("Payback period is between 3 and 4 years.") +E=3; +B=100000-90000;//remaining balance to be recovered +C=50000;//cash flow of last year +PaybackPeriod=E+B/C; +disp(PaybackPeriod,"Payback period of the project(in years) is : "); +//Note : ans in the book is not accurate, given 3 years and two month. but it is 3.2 years and can say 3 years 2 month plus 12 days. \ No newline at end of file -- cgit