summaryrefslogtreecommitdiff
path: root/1208/CH4/EX4.6/Exa6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1208/CH4/EX4.6/Exa6.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1208/CH4/EX4.6/Exa6.sce')
-rwxr-xr-x1208/CH4/EX4.6/Exa6.sce33
1 files changed, 33 insertions, 0 deletions
diff --git a/1208/CH4/EX4.6/Exa6.sce b/1208/CH4/EX4.6/Exa6.sce
new file mode 100755
index 000000000..5d0e51df3
--- /dev/null
+++ b/1208/CH4/EX4.6/Exa6.sce
@@ -0,0 +1,33 @@
+//Exa 6
+clc;
+clear;
+close;
+//given data :
+CostofMac=80000;//in Rs.
+SalvageValue=10000//in Rs.
+//Profits of 1st,2nd,3rd,4th and th years
+P1=20000;//in Rs.
+P2=40000;//in Rs.
+P3=30000;//in Rs.
+P4=15000;//in Rs.
+P5=5000;//in Rs.
+//Total profit before depreciation
+Pbd=P1+P2+P3+P4+P5;//in Rs.
+disp(Pbd,"Total profit before depreciation(in Rs) : ")
+AvgP=Pbd/5;//Average profit per annum
+disp(AvgP,"Average profit per annum(in Rs.) : ")
+//Total Depreciation of the machine
+TotDep=CostofMac-SalvageValue
+disp(TotDep,"Total Depreciation of the machine(in Rs.) : ")
+//Average Depreciation per annum
+AvgD=TotDep/5;
+disp(AvgD,"Average Depreciation per annum(in Rs.) : ")
+//Average annual profit after Depreciation
+AvgPafterDepreciation =AvgP-AvgD;
+disp(AvgPafterDepreciation,"Average annual profit after Depreciation(in Rs.) : ")
+//Return on original investment
+ReturnOnOrg=(AvgPafterDepreciation/CostofMac)*100;//in %
+disp(ReturnOnOrg,"Return on original investment(in %) : ")
+//Return on average investment
+ReturnOnAvgInv=(AvgPafterDepreciation/((CostofMac+SalvageValue)/2))*100;//in %
+disp(ReturnOnAvgInv,"Return on average investment(in %) : ") \ No newline at end of file