diff options
author | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
commit | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch) | |
tree | 612077a22c8142c0ae754ec11882a4e7d5dc25a4 /2465/CH18/EX18.6/Ex18_6.sce | |
parent | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (diff) | |
download | Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.gz Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.bz2 Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.zip |
Modified the code
Diffstat (limited to '2465/CH18/EX18.6/Ex18_6.sce')
-rw-r--r-- | 2465/CH18/EX18.6/Ex18_6.sce | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/2465/CH18/EX18.6/Ex18_6.sce b/2465/CH18/EX18.6/Ex18_6.sce deleted file mode 100644 index 9441a7a58..000000000 --- a/2465/CH18/EX18.6/Ex18_6.sce +++ /dev/null @@ -1,37 +0,0 @@ -//Chapter-18,Example 6,Page 407
-clc();
-close();
-
-CO =0.46 //composition of CO
-
-CH4 =0.1 //composition of CH4
-
-H2 =0.4 //composition of H2
-
-C2H2 =0.02 //composition of C2H2
-
-N2=0.01 //composition of N2
-
-//for reaction CO + (1/2)O2 = CO2
-
-V1=CO*(1/2) //volume of O2 required
-
-//for reaction CH4 + 2O2 = CO2 + 2H2O
-
-V2=CH4*2 //volume of O2 required
-
-//for reaction H2 + (1/2)O2 = H2O
-
-V3=H2*(1/2) //volume of O2 required
-
-//for reaction C2H2 + (5/2)O2 = 2CO2 +H2O
-
-V4=C2H2*(5/2) //volume of O2 required
-
-total_v= V1+V2+V3+V4
-
-//as air contains 21% of O2 by volume
-
-V_air = total_v*100/21 //volume of air
-
-printf("the volume of air required is %.3f cubicmeter",V_air)
|