summaryrefslogtreecommitdiff
path: root/98/CH4/EX4.10/example4_10.sce
blob: 0bec6a4a3c2b584f44d834033cd88e1d02b58034 (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
//Chapter 4
//Example 4_10
//Page 78

clear;clc;

md=60;
lf=0.5;
b_and_e=5*1e6;
fotw=900000;
int_dep=0.1;
org=500000;

ugpa=md*lf*8760*1000;
a=org;
asfc=int_dep*b_and_e;
b=asfc/md/1000;
c=fotw/ugpa;

printf("Units generated per annum = %.0f kWh \n\n", ugpa);

printf("Annual fixed cost = Rs. %.0f \n\n", a);

printf("Annual semi fixed cost = Rs. %.2f \n\n", b);

printf("Annual running cost = Rs. %.5f \n\n", c);