summaryrefslogtreecommitdiff
path: root/1682/CH4/EX4.2/Exa4_2.sce
blob: 0ebbf6021229ad8028df449c729eef414a11647c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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.");