summaryrefslogtreecommitdiff
path: root/1052/CH7/EX7.1/1.sce
blob: 303982743c4819263f6dd066d26b877d3d38274e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc;
//Example 7.1
//page no. 64
printf("example no. 7.1 page no. 64\n\n");
//applying coservation of mass
// rate of mass in-rate of mass out+rate of mass generated=rate of mass accumlated
//according to conditions in this example
//rate of mass in = rate of mass out
Rf=4000//rate of feed of gaseous waste into an incinerator
Ra=8000//rate of air feed
Rm=550//rate of methane added for combustion
Rin=Rf+Ra+Rm//total rate of mass in
Rout=Rin//Rout is rate of mass out
printf("\n Rf=%f kg/hr\n Ra=%f kg/hr\n Rm=%f kg/hr\n Rin=%f kg/hr\n Rout=%f kg/hr",Rf,Ra,Rm,Rin,Rout);