summaryrefslogtreecommitdiff
path: root/1682/CH10/EX10.1/Exa10_1.sce
blob: f791e504b51b5ef6751ecf783eed20ba75243c3c (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
25
26
27
28
29
//Exa 10.1
clc;
clear;
close;
//Given data
Ii=4000000;//in Rs.
AM=150000;//in Rs.
AFS=600000;//in Rs.
Einc=50000;//in Rs.
i=12;//in % per annum
n=15;//in years
//Total present worth of costs:
//Formula : (P/A,i,n)=(((1+i/100)^n)-1)/((i/100)*(1+i/100)^n)
Cp=AM*(((1+i/100)^n)-1)/((i/100)*(1+i/100)^n);//in Rs
TPW=Ii+Cp;//in RS
disp(TPW,"Total present worth of costs in RS. : ");

//Total present worth of fuel savings:
AI=600000;//in Rs.
G=50000;//in Rs.
i=12;//in % per annum
n=15;//in years
//Formula : (A/G,i,n) :(((1+i/100)^n)-i*n/100-1)/(((i/100)*(1+i/100)^n)-i/100)
A=AI+G*(((1+i/100)^n)-i*n/100-1)/(((i/100)*(1+i/100)^n)-i/100);//in RS
Bp=A*(((1+i/100)^n)-1)/((i/100)*(1+i/100)^n);//in Rs.
disp(Bp,"Present worth of fuel savings in Rs. : ");
BCratio=Bp/(Ii+Cp);//unitless
disp(BCratio,"BCratio : ");
disp("Since BC ratio is more than 1, the construction of the bridge across the river is justified.");