summaryrefslogtreecommitdiff
path: root/3733/CH34/EX34.1/Ex34_1.sce
blob: 6b4d9db2fc37f1256f5769b6b3c42488d014fa58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Example 34_1
clc;funcprot(0);
//Given data
P=120000;// The cost of the water softner plant in rupees
S=(8/100)*P;// The salvage value of the plant in rupees
r=8/100;//Interest on sinking fund
n=12;//The life of the plant in years
RMLc=8000;//Repair,maintainence and labour costs
Cc=5000;// Chemical cost

//Calculation
A=(P-S)*(r/(((1+r)^n)-1));// Annual sinking fund payment for the plant in rupees
Ac=A+RMLc+Cc;// Annual cost of the plant in rupees
printf('\nAnnual cost of the plant=Rs.%0.0f',Ac);
// The answer vary due to round off error