summaryrefslogtreecommitdiff
path: root/1682/CH4/EX4.2/Exa4_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1682/CH4/EX4.2/Exa4_2.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 '1682/CH4/EX4.2/Exa4_2.sce')
-rwxr-xr-x1682/CH4/EX4.2/Exa4_2.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/1682/CH4/EX4.2/Exa4_2.sce b/1682/CH4/EX4.2/Exa4_2.sce
new file mode 100755
index 000000000..0ebbf6021
--- /dev/null
+++ b/1682/CH4/EX4.2/Exa4_2.sce
@@ -0,0 +1,24 @@
+//Exa 4.2
+clc;
+clear;
+close;
+//Bid 1: Alpha Elevator Inc.
+disp("Bid 1: Alpha Elevator Inc. ");
+P=450000;//in Rs
+A=27000;//in Rs
+i=15;//in % per annum
+n=15;//in years
+//Formula : (P/A,i,n)=(((1+i/100)^n)-1)/((i/100)*(1+i/100)^n)
+PW=P+A*(((1+i/100)^n)-1)/((i/100)*(1+i/100)^n);//in RS
+disp(PW,"The present worth for this bid in RS. : ");
+
+//Bid 2: Beta Elevator Inc.
+disp("Bid 2: Beta Elevator Inc. ");
+P=540000;//in Rs
+A=28500;//in Rs
+i=15;//in % per annum
+n=15;//in years
+//Formula : (P/A,i,n)=(((1+i/100)^n)-1)/((i/100)*(1+i/100)^n)
+PW=P+A*(((1+i/100)^n)-1)/((i/100)*(1+i/100)^n);//in RS
+disp(PW,"The present worth for this bid in RS. : ");
+disp("The total present worth cost of bid 1 is less than that of bid 2. Hence bid 1 is to be selected for implementation. That is, the Elevator from Alpha Elevator Inc. is to be purchased and installed in the new building."); \ No newline at end of file